wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux+.3

Total questions: 75

Worksheet time: 38mins

Name
Class
Date
1.
What has come into existence with security becoming a part of the development, integration, and maintenance lifecycle?
a)
DevSecOps
b)
OpsSecDev
c)
SecDevOps
d)
DevOps
2.
An implementation engineer is looking to understand how to configure security in SELinux. What are the three different modes that define how SELinux applies in a system?
a)
Enforcing, Permissive, Disabled
b)
User, Role, Type
c)
Confidential, Secret, Top Secret
d)
Identity, Authentication, Management
3.
Users report that a recently published application installer is blocked by their operating system. What can the developer add to the installation package to ensure it installs correctly?
a)
Digital signature
b)
Keys
c)
Certificate
d)
Decryption
4.
What entity is responsible for issuing valid certificates?
a)
Certificate authority
b)
Registrar
c)
Web host
d)
Government
5.
A company recently switched from SELinux to AppArmor. What command would allow the company to place a profile in a mode that requires its enablement?
a)
aa-enforce
b)
apparmor_status
c)
aa-disable
d)
aa-unconfined
6.
A security-focused web application company implemented and enforced the use of a secondary, one-time token in addition to a username and password to access their website. What security concept does this refer to?
a)
Multifactor authentication
b)
Single sign-on
c)
Password sharing
d)
Single factor authentication
7.
Which context-based permissions scheme was developed by the National Security Agency?
a)
SELinux
b)
RSA
c)
AppArmor
d)
RHEL
8.
A systems administrator is trying to explain to the development manager why security is important. One concept mentioned was the CIA Triad. What makes up the CIA Triad?
a)
Confidentiality, Integrity, Availability
b)
Central Intelligence Agency
c)
Compartmentalization, Integrity, Access
d)
Confidentiality, Integrity, Access
9.
A developer wants to ensure users are installing the correct program. What could the developer place on their website for users to cross-reference to ensure users are installing the correct application?
a)
Digital signature
b)
Government entities
c)
Certificate authority
d)
Registrar
10.
A small company is looking to get in compliance to obtain insurance. The insurance company recommended that the company implement a centralized access system. What system would help centralize usernames and passwords?
a)
LDAP
b)
SSO
c)
CIA
d)
MFA
11.
A company's physical security involves a hardware device that rotates between six-digit numbers. What type of authentication concept is involved with this?
a)
One-time password
b)
Single sign-on
c)
Multifactor authentication
d)
Password sharing
12.
The Chief Technology Officer requested a business justification for implementing SELinux in their environment. What is one main benefit of SELinux?
a)
Enforces mandatory access controls.
b)
Prevents mandatory access controls.
c)
Enforces proper password policies.
d)
Prevents proper password policies.
13.
A systems engineer needs to configure SELinux. Which command would change the on/off status of various SELinux policies?
a)
setsebool
b)
getsebool
c)
semanage
d)
sestatus
14.
IAM is used to identify and authenticate users. What makes up IAM?
a)
Identity and Access Management
b)
Information and Access Management
c)
Identity and Authentication Management
d)
Information and Authentication Management
15.
A programmer complained to management that the programmer does not have access to certain parts of the web server. What security concept does this represent?
a)
Least privilege
b)
Lack of security
c)
Lack of access
d)
Information security
16.
A system administrator is trying to figure out how to print out all shell variables. What command can the system administrator use to accomplish this?
a)
set
b)
crontab
c)
chmod
d)
alias
17.
What component can a person use to represent a series of words when writing a Bash script?
a)
String literal
b)
Functions
c)
Escape characters
d)
Array
18.
A system administrator needs to configure the environment variables. Where in Linux can the system administrator modify the environment variables?
a)
~/.bash_profile
b)
#!/bin/bash
c)
/usr/lib64
d)
/usr
19.
An engineer needs to write a Bash script to include a prompt for input from a user. How can the engineer accomplish this after using the echo command to display the prompt?
a)
read
b)
source
c)
regex
d)
exec
20.
A data scientist created a script to automate some calculations for a project. How can the data scientist output the result of that calculation?
a)
echo $calculation
b)
echo $?
c)
read
d)
exec
21.
A security engineer reviews a script found online to help automate certain tasks. The engineer notices numerous hash characters (#) in the script and does not understand it. What is the purpose of the hash (#) character in a bash script?
a)
To add a comment to certain sections of code
b)
To hide parts of active code
c)
To start a mathematical calculation
d)
To display text as a script runs
22.
An engineer received a request to find a specific file that includes “html” in the file name. What common script utility can the engineer use to find a specific string or character?
a)
regex
b)
read
c)
echo
d)
exec
23.
A system administrator needs to display text while the script runs. What can the system administrator add to the script to carry out this action?
a)
echo
b)
elseif
c)
#!
d)
#
24.
What is the purpose of scripting in terms of device management?
a)
To streamline common tasks
b)
To do less work
c)
To ensure devices are poorly maintained
d)
To make management more difficult
25.
A help desk technician investigates what caused a command to fail in Linux. Which command outputs the exit code?
a)
echo $?
b)
echo variable
c)
echo $calculation
d)
read $?
26.
A Linux engineer is looking to simplify the commands using shorthand for longer expressions. Which command could be used to simplify a command such as ls –al?
a)
alias
b)
chmod
c)
set
d)
crontab
27.
A network administrator needs to run a script in Linux on a set schedule. Editing a file would schedule the script to run in this fashion. What can the administrator use for this task?
a)
crontab
b)
alias
c)
set
d)
chmod
28.
What part of a Linux file is optional and meaningless?
a)
File extension
b)
File folder
c)
File metadata
d)
File contents
29.
A systems administrator is having trouble running a script to automate certain tasks. What might the administrator need to type to get the system to look in the current directory?
a)
./
b)
..
c)
!#
d)
#
30.
After creating a script, an engineer wants the output written out into a file to log what occurred. What is the best way to get Bash to output to a file?
a)
echo
b)
regex
c)
exec
d)
read
31.
A DevOps team needs an orchestration utility that runs on Ruby and includes both declarative and imperative methods. What utility best fits the team's needs?
a)
Chef
b)
SaltStack
c)
Terraform
d)
Ansible
32.
What might be necessary for a Linux server administrator to understand to assist in a DevOps team?
a)
Automation
b)
Functions
c)
Crontab
d)
Regex
33.
A small developer wants to publish their script while also having a portal that shows version control information. What common version control utility would this portal rely on?
a)
Git
b)
chef
c)
saltstack
d)
ansible
34.
A developer needs to create a new branch of their code in their version control. What command would accomplish this?
a)
branch
b)
commit
c)
checkout
d)
pull
35.
What concept refers to a person managing Linux servers with version control and centralized management?
a)
IaC
b)
JSON
c)
CI/CD
d)
Functions
36.
A DevOps team needs a version control utility. What utility best fits the team's needs?
a)
Git
b)
Saltstack
c)
ansible
d)
Chef
37.
A developer needs to update a program in their version control to add the developer's changes to it. What command would accomplish this?
a)
commit
b)
push
c)
branch
d)
pull
38.
A system administrator sets up a new server and wants to modify settings for the server after completing the initial setup. What should the system administrator learn about to accomplish this task?
a)
Configuration management
b)
alias
c)
crontab
d)
Git
39.
An administrator needs to replace much of the manual configuration process with automation to improve the DevOps team's ability to deploy new code. What concept should the administrator investigate?
a)
Orchestration
b)
Regex
c)
Functions
d)
Crontab
40.
One of the key benefits of a DevOps organization using configuration management processes is to do what?
a)
Maintain consistency.
b)
Maintain speed.
c)
Limit management.
d)
Limit consistency.
41.
A developer needs to switch the branch the developer is working on in their version control. What command would accomplish this?
a)
checkout
b)
pull
c)
branch
d)
commit
42.
A fast-food company looks to develop a mobile application that allows customers to purchase food without coming into the store. One of the engineers suggested that the company implement backups to minimize potential downtime if an issue occurs. What concept would be implemented with the backups to ensure they consistently run?
a)
Automation
b)
Git
c)
JSON
d)
IaC
43.
What is a key difference between automation and orchestration?
a)
Automation is related to deployment tasks.
b)
Orchestration is related to deployment tasks.
c)
Automation is related to JSON.
d)
Automation is related to permissions.
44.
A web development team needs to implement a process that improves the turnaround time between updates. What concept refers to this process?
a)
CI/CD
b)
IaC
c)
JSON
d)
Functions
45.
A DevOps team works to simplify the ability for users to configure their application when users set it up on their own servers. What would best fit this activity?
a)
JSON
b)
push
c)
Conditionals
d)
Loops
46.
A software engineer is reviewing policies on the processes associated with container solutions. What is NOT part of the container solution process?
a)
Selecting and installing a container engine
b)
Selecting the configuration file to use
c)
Transitioning the file to an image
d)
Running the containers
47.
The cyber team is working on deploying a set of containers. While using the docker command, what subcommand do they use to upload an image to a registry?
a)
push
b)
port
c)
info
d)
run
48.
A cyber consultant is working on a Kubernetes container orchestration solution. What is the main component of a Kubernetes deployment?
a)
pod
b)
service mesh
c)
network driver
d)
docker file
49.
A consultant is working within a KVM environment and using the virsh command. What subcommand displays an inventory of recognized virtual machines?
a)
lsit
b)
create {XML file-name}
c)
reboot {VM}
d)
save {VM} {file-name}
50.
A software engineer is exploring the various orchestration capabilities of using an image versus a container. What is true for containers? (Select all that apply.)
a)
Many identical containers can be spawned from a single image.
b)
Containers are portable and will run on any platform hosting a container solution.
c)
Containers are stateless, meaning that any changes are not preserved.
d)
Containers can run without an image defining their configuration.
51.
A cyber engineer is creating a virtual machine environment for a new employee. While working, the engineer recognizes that they must force restart the VM. What subcommand can the cyber engineer use in this instance?
a)
reboot {VM}
b)
create {XML file-name}
c)
save {VM} {file-name}
d)
list
52.
A software engineer is evaluating the available options for network access to virtual machines. What option allows access to the host computer but not to the physical network or the internet?
a)
Host-only
b)
Bridged
c)
None
d)
Local
53.
A technician is reviewing the capabilities of the docker command while working with containers. What subcommand displays system-wide details?
a)
info
b)
push
c)
run
d)
port
54.
An intern is reviewing the available options associated with network access for VMs. What option proves that there is network access only to other VMs on the same host?
a)
Local
b)
Bridged
c)
Host-Only
d)
None
55.
A technician is reviewing a company factsheet on basic container concepts. Which is true of containers? (Select all that apply.)
a)
A container warehouses the application code, runtime, libraries, settings, and other components.
b)
A container is portable and will run on any platform hosting a container solution.
c)
Containers are lightweight, share a single OS (usually Linux), and provide a single function.
d)
Containers can not be deployed on a cloud infrastructure.
56.
A technician is setting up a new office using virtual machines. While setting up virtualization, what option provides access to both the physical network and the internet?
a)
Bridged
b)
None
c)
Local
d)
Host-Only
57.
A consultant is working with the docker command to deploy a container. What subcommand uploads an image to a registry?
a)
push
b)
info
c)
port
d)
run
58.
A technician is exploring the requirements for running a container deployment for systems within the organization. What is the first step in container deployment?
a)
Selecting and installing a container engine
b)
Selecting the configuration file to use
c)
Transitioning the file to an image
d)
Running the containers
59.
An intern is preparing a procedure on basic container concepts. What is NOT a basic concept with containers?
a)
Containers offer the same form of virtualization as virtual machines.
b)
A container is a complete, portable solution containing application code, runtime, and other components.
c)
Hosting containers in the cloud provides scalability, high availability, and quick deployments.
d)
Containers are very lightweight, share a single OS (usually Linux), and provide a single function.
60.
An intern is deploying a Docker container and using subcommands to support the deployment. What docker subcommand initiates a command in a container?
a)
run
b)
port
c)
info
d)
push
61.
A software engineer is exploring available boot options to support a Linux installation. What is a network boot option that mounts a share as its root file system rather than storing system files on a local storage drive?
a)
NFS
b)
PXE
c)
UEFI
d)
BIOS
62.
A software engineer is modifying boot settings on three new computers. While working with GRUB2, what subcommand installs only the specified modules and their dependencies rather than the default of installing all available modules?
a)
--install-modules {module-names}
b)
--directory {directory-name}
c)
--target {target platform}
d)
--modules {module-names}
63.
A cyber consultant is manually installing Linux on organizational systems. What are installation considerations in manually installing Linux? (Select all that apply.)
a)
Create a non-root administrative user account.
b)
Select the Linux system's role and appropriate software packages.
c)
Boot to the installation media.
d)
Configure network and firewall settings appropriate to the organization.
64.
A technician is reviewing team documentation on elements associated with the Linux boot process. In reviewing various components and methods, what is a standard for firmware interfaces stored on a computer motherboard's ROM chip?
a)
BIOS
b)
UEFI
c)
PXE
d)
NFS
65.
A technician is deploying Linux manually. What is the first step in the installation process?
a)
Boot to the installation media.
b)
Select the Linux system's role and appropriate software packages.
c)
Configure network and firewall settings appropriate to the organization.
d)
Create a non-root administrative user account.
66.
A newly-hired cyber consultant is experiencing boot issues with their company computer. What common problem includes typographical errors in the menus, kernel paths, or other settings?
a)
GRUB2 configuration
b)
BIOS
c)
Hardware
d)
Switched system
67.
A technician is reviewing different techniques for manually installing and deploying Linux on an organizational system. Which of the following is NOT typically recommended due to concerns about security and data integrity?
a)
Download it by using a USB device from an unverified source.
b)
Download an image to a DVD.
c)
Download it as a startup media for a VM.
d)
Access source files from across the network.
68.
A consultant installs Linux on several of the company's devices. When considering boot processes, what is a newer firmware technology that brings the advantages of speed, its capability of working with more memory, and enhanced security?
a)
UEFI
b)
PXE
c)
BIOS
d)
NFS
69.
A cyber technician is reviewing an article on the differences between UEFI and BIOS boot processes. What advantages does UEFI pose over the use of BIOS? (Select all that apply.)
a)
It is noticeably faster than the other boot process.
b)
It is a standard for firmware interfaces stored on a ROM chip.
c)
It has improved security enhancements.
d)
It can access storage of currently unattainable sizes.
70.
An intern is experiencing issues while attempting to boot their device. What can be caused by the introduction of typographical errors in any manually-defined storage devices and unanticipated boot device order?
a)
BIOS error
b)
GRUB2 configuration
c)
Hardware
d)
Switched system
71.
A consultant manually installed Linux on a corporate device. What are common tasks associated with post-deployment? (Select all that apply.)
a)
Create additional user accounts and groups.
b)
Configure network and firewall settings appropriate to the organization.
c)
Configure software updates. To note: automatic updates are recommended.
d)
Select the Linux system's role and appropriate software packages.
72.
A software engineer is preparing a class for newly-hired employees on the topic of Linux boot processes. What enables a client to retrieve the necessary boot loader and system files from a server over the network?
a)
PXE
b)
BIOS
c)
UEFI
d)
NFS
73.
A technician is manually installing Linux onto a company computer. What methods does CompTIA recommend for the installation of Linux onto the platform? (Select all that apply.)
a)
Download an image to a DVD.
b)
Download it as a startup media for a VM.
c)
Access source files from across the network.
d)
Install directly from an external hard drive.
74.
A technician is modifying boot settings by using GRUB2. What GRUB2 subcommand preloads the specified kernel modules with the GRUB2 boot loader?
a)
--modules {module-names}
b)
--install-modules {module-names}
c)
--directory {directory-name}
d)
--target {target platform}
75.
A technician is troubleshooting a device that is experiencing boot issues. What type of problem can result from a failed or missing storage device?
a)
Hardware
b)
Switched system
c)
GRUB2 Configuration
d)
BIOS