1. What are the best methods of checking the provided options from the installation package when performing an installation from the command line in Windows? Check all that apply.
Answers
·
Consult the documentation
for the application to see what options they provide.
·
Use the command option “program name.”
·
Install the application from the GUI.
·
Use the /?, /h, or /help
flags when running the package to see if they provide any helpful output.
2. Which of the
following file extensions are considered archives in Windows? Check all that
apply.
Answers
·
.rar
·
.exe
·
.txt
·
.zip
3. What PowerShell
command can be used to extract and compress archives right from the command
line?
Answers
·
zip
·
7zip
·
Compress-Archive
·
Archive-Compress
Explanation: These commands are compatible with many different types of archive files, including ZIP files. It's possible that you'll need to utilize tools from a third party or extra PowerShell modules if you need to deal with archive formats other than ZIP.
4. What is the purpose
of a DLL in Windows?
Answers
·
To extract a package
·
To take up space on the hard drive.
·
To share a package of
useful code among programs.
·
To guide the installation of a package
via the Windows Installer.
Explanation: A Dynamic Link Library, or DLL, in Windows performs several functions, and it is an extremely important component in both the creation of Windows applications and the Windows operating system.
5. _____________ is used
to guide the Windows Installer in the installation, maintenance, and removal of
programs on the Windows operating system.
Answers
·
A text file
·
An msi file
·
An archive file
·
An exe file
Explanation: Windows Installer Package (MSI) is the acronym that you need to search for in this context. When installing applications on a computer running the Windows operating system, the Windows Installer must follow the instructions provided by a Windows Installer Package in order to successfully install, maintain, and uninstall software. It provides details on the installation procedure, such as the files that need to be installed, the settings for the registry, and any individualized activities that need to be carried out throughout the process of installing, maintaining, or removing the software. The Windows Installer technology offers a standardized mechanism for the installation of software programs and the management of such installations on Windows-based computers.
6. What's the difference
between apt and dpkg? Check all that apply.
Answers
·
apt is used as a package
manager.
·
dpkg installs package dependencies.
·
dpkg is used as a
standalone Debian package command.
·
apt installs package
dependencies.
7. Which of the
following PowerShell commands will install the fictional package
"awesomesoftware" from the Chocolatey software source?
Answers
·
Install-Package -Name
awesomesoftware -Source chocolatey
·
source chocolatey – Install-Package
-Name awesomesoftware
·
Install-Package -Name chocolatey
-Source awesomesoftware
·
Install-Package -Name awesomesoftware
-Source MicrosoftWindows –
8. Before installing a
software, which of the following commands should be run to get an updated
version of the software?
Answers
·
apt remove
·
apt search
·
apt install
·
apt update
Explanation: Simply substitute the exact name of
the software package you want to update for "packageName" in the
following command. This command will search the Chocolatey repository for the
most recent version of the provided package and, if one is found, will update
the currently installed version to the most recent one if it is available.
9. ________makes sure
that the process of software installation, removal, update, and dependency
management is as easy and automatic as possible.
Answers
·
An update
·
A package manager
·
A software package
·
Software distribution
Explanation: Package Managers are responsible for ensuring that the steps involved in the process of installing software, removing it, updating it, and managing its dependencies are as simple and automated as feasible. Package managers are tools or software systems that facilitate the management of software packages on a computer by automating operations related to installing, updating, configuring, and removing software packages. This makes it easier for users to install, update, configure, and remove software packages. They manage dependencies and contribute to the upkeep of a system's software environment by helping to maintain consistency. For instance, Chocolatey, APT (Advanced Package Tool), and Yum are all good examples.
10. What does APT stand
for?
Answers
·
Administrative Program Tool
·
Assist Package Tool
·
Advance Package Tool
·
Advance Program Tool
Explanation: The abbreviation for Advanced Package Tool is APT. It is a package management system that is used in Linux distributions that are based on the Debian operating system, such as Debian and Ubuntu, as well as its variants. On Linux-based computers, the APT package manager makes the processes of installing, updating, and deleting software packages much more straightforward. Additionally, it manages dependencies and guarantees that the right installation of all necessary software components is carried out. The command line utilities apt and apt-get are two of the most prevalent ways in which APT is used.
11. Which of these does
Windows use to search for the right driver for a new piece of hardware
connected to a Windows computer?
Answers
·
A data block
·
A hardware ID
·
A security patch
·
Kernel modules
Explanation: When a new piece of hardware is attached to a computer running Windows, Windows will utilize the Device Manager to look for the appropriate driver for the device. The Windows program known as Device Manager gives users the ability to monitor and control the various pieces of hardware that have been installed on their computers. Windows will often make an effort to automatically seek for and install the suitable driver for a newly connected piece of hardware by using the Device Manager. Users have the option to manually update or install drivers using the Device Manager interface in the event that the appropriate driver is not detected.
12. In Linux, in the
/dev directory, which of these devices starts with sd?
Answers
·
USB flash drives
·
Keyboards
·
Monitors
·
Mice
Explanation: Disk drives that use the SATA (Serial
ATA) or SCSI (Small Computer System Interface) interfaces are represented by
Linux devices that begin with "sd" in the /dev directory. Storage
devices, like as hard drives and solid-state drives, are often thought of in
conjunction with this category of gadgets.
13. Which of the
following correctly describes a "Security Patch?"
Answers
·
A program that runs in the background
on the computer and downloads and installs updates
·
An entirely new, more secure, version
of an operating system
·
A piece of fabric that’s meant to
patch a broken cable
·
A piece of software that’s
meant to fix up a security hole.
Explanation: A software update or a change to the
source code that is meant to fix security vulnerabilities in a computer program
or system is referred to as a "security patch." Patches for security
flaws are supplied by software sellers, developers, or system administrators to
address previously identified vulnerabilities in the program or system,
therefore mitigating the risk of the software or system being exploited by
malevolent users.
14. What controls the
core components of the operating system in Linux?
Answers
·
Update driver
·
The Device Manager
·
The kernel
·
BASH
Explanation: The kernel is responsible for controlling the fundamental aspects of the operating system in Linux. The kernel is the most important part of the operating system and serves as a go-between for the user-level software and the underlying hardware. It is responsible for the management of system resources, the provision of necessary services, and the facilitation of communication between software programs and the underlying hardware.
15. What type of Windows
update model releases a full new system update package each month that
supersedes the previous month’s update?
Answers
·
Cumulative update
·
Independent update
·
Driver update
·
Sudo apt update
Explanation: Cumulative
Update model is the name given to the kind of Windows update that distributes a
whole new system update package on the first of every month, therefore
replacing the version that was released the month before. Each monthly update
in this approach incorporates all of the previously issued updates. This
ensures that a system is always completely current with the most recent
upgrades, bug fixes, and security patches as they become available.
Cumulative Updates streamline the process of updating
software by combining all of the necessary adjustments into a single
installation package. This makes it much simpler for end users to keep the
software on their computers up to date. Users should just apply the most recent
cumulative update to guarantee that they have all of the updates that have been
released in the preceding months.
This approach is widely used in Windows operating systems,
and users are strongly advised to get the most recent Cumulative Update in
order to keep their computers secure and stable.
16. Which of the following file
types are used to guide software installations in Windows? Select all that
apply.
Answers
·
deb
files
·
.mpg
files
·
.exe files
·
.msi files
17.
What does the following command do in Ubuntu:dpkg -i UbuTestPackage?
Answers
·
Uninstall
a Debian package named “DPKG”
·
Search
for a package that is installed on your Linux system
·
Uninstall
a Debian package named “UbuTestPackage”
·
Install a Debian standalone package named
“UbuTestPackage”
18.
Fill in the blank: _____ are a central managed marketplace for app developers
to publish and sell mobile apps.
Answers
·
Package
managers
·
Windows
executables
·
Debian
packages
·
App stores
Answers
·
Create-Archive
-path C:\Users\testuser\Desktop\TestArchive\ ~\Desktop\TestArchive.zip
·
B:
Expand-Archive -path C:\Users\testuser\Desktop\TestArchive\
~\Desktop\TestArchive.zip
·
Archive
-path C:\Users\testuser\Desktop\TestArchive.zip ~\Desktop\TestArchive\
·
*A:
Compress-Archive -path C:\Users\testuser\Desktop\TestArchive\
~\Desktop\TestArchive.zip
Answers
·
Chocolatey
·
Windows
installer
·
Puppet
·
SCCM
Answers
·
/etc/repository_sources
·
/etc/APT/sources.list
·
/etc/repsrc.lst
·
/apt/repositories.lst
Answers
·
A
monitor
·
A
keyboard
·
A
printer
·
A memory stick
Answers
·
Uninstalling a device driver
·
Installing
a new device driver
·
Disabling a device driver
·
Updating
a device driver
Answers
· Installing
a kernel module
·
Updating
the /dev directory
·
Plugging
in a new device
·
Updating
the Linux kernel
Answers
·
install
NewKernel
·
uname
-r
·
sudo
apt update
·
sudo apt full-upgrade
Answers
·
Side-loading
·
Unlocking
·
Down-storing
·
Uploading
Answers
·
.tar files
·
.rar files
·
.msi
files
·
.deb
files
Answers
·
Get-Package -name TestPackage
·
Install-Package
-name TestPackage
·
Uninstall-Package
-name TestPackage
·
Find-Package
TestPackage -IncludeDependencies
Answers
·
A server that acts like a central storage
location for packages
·
An
open-source graphical editor
·
A
package manager used in Windows
·
A
package manager used in Ubuntu
Answers
·
The
devmgmt.msc program
·
The
hardware ID
·
A device driver
·
A
cmdlet
31. When Windows notices that a new
device has been connected, what’s the first thing it will do?
Answers
·
Ask
for the new device’s hardware ID
·
Scan
the device for viruses
·
Place
the new device in an existing device category in Device Manager
·
Create
a new device category in Device Manager
Answers
·
A
keyboard
·
A
mouse
·
A
hard drive
·
A
CD-ROM
Answers
·
sudo apt update
·
install
source.list
·
sudo
apt full-upgrade
·
uname
-r
Answers
·
.msi
files
·
.deb files
·
.mpg
files
·
.exe
files
35. What does the following command
do in Ubuntu:apt-get install NamePackage?
Answers
·
List
all packages installed on your Linux system
·
Install a software package named “NamePackage”
using a package manager
·
Search
for a package named “NamePackage” on your Linux system
·
Uninstall
a software package named “NamePackage”
Answers
·
Launchpad
·
Gimp
·
Puppet
·
APT
When
working with APT, it is usual practice to use the apt-get and apt commands to
carry out a variety of package management operations. These tasks include
installing, updating, and uninstalling software packages. APT takes care of
dependencies automatically, which makes it much simpler for users to manage
software and install it on their Ubuntu computers.
Answers
·
management
prompt
·
naming
token
·
device
category
·
hardware ID
Shuffle Q/A 2
Answers
·
Plug
in a new device
·
Open the Run dialog box and type in
devmgmt.msc
·
Restart
your computer
·
Right-click on “This PC,” in the Windows file
menu, then select “Manage”
Answers
·
Updating
the app
·
Clearing
the cache
·
Restarting
the mobile OS
·
Shutting
down the mobile device
40. Which of
the following Powershell commands will create a directory called “TestArchive”
on your desktop by expanding the TestArchive.zip file?
Answers
·
Compress-Archive -path
C:\Users\testuser\Desktop\TestArchive\ ~\Desktop\TestArchive.zip
·
Create-Archive -path
C:\Users\testuser\Desktop\TestArchive.zip ~\Desktop\TestArchive\
·
*A: Expand-Archive -path
C:\Users\testuser\Desktop\TestArchive.zip ~\Desktop\TestArchive\
·
Extract-Archive -path
C:\Users\testuser\Desktop\TestArchive\ ~\Desktop\TestArchive.zip
Explanation: You can use the Expand-Archive cmdlet in PowerShell to extract the contents of the "TestArchive.zip" file and place the extracted files in a directory on your desktop with the name "TestArchive."
41. Which of the
following Powershell commands will install a software package called
“TestPackage” on your system?
Answers
·
Install-Package -name
TestPackage
·
Get-Package -name TestPackage
·
TestPackage-Install -Chocolatey
·
Find-Package TestPackage
-IncludeDependencies
Explanation: The precise PowerShell command that must be executed in order to install a software package might change depending on the packaging method that is being used as well as the particular installation requirements of the software package. Nevertheless, if we suppose a situation that occurs often, in which the package may be obtained using a package management such as Chocolatey.
42. Which of the
following commands will show you what Linux kernel version you have?
Answers
·
show NewKernel
·
uname -r
·
sudo apt update
·
sudo apt full-upgrade