stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Linux+ (XK0-005) 2 (all) BETA Flashcards | StudBud
Explore
/
Linux+ (XK0-005) 2 (all) BETA
Linux+ (XK0-005) 2 (all) BETA
69 terms
·
StudBud Administration
·
4 plays
Imported from external platform
Flashcards
69 cards
F
Practice quiz
P
Host live
L
Questions
69
Answers
1
What is the name of the manager that automatically detects and configures hardware?
udev
mdadm
lshw
lpq
2
When using Vim what keystroke would call the application to split the screen into two horizontal windows?
Ctrl+w, then v
Ctrl+w, then s
Ctrl+w, then h
Ctrl+w, then w
3
You are unable to delete UnFile.txt because it is being used by an unknown process. Which command should you FISRT use?
kill
ps
lsof
grep
4
Which command lists the history of users that have logged into and out of the current terminal?
id
w
last
history
5
Which command will set the permissions for MyFile to rw-r-x--wx?
chmod 421 MyFile
chmod 764 MyFile
chmod 653 MyFile
chmod 433 MyFile
6
A consultant is working with the docker command to deploy a container. What subcommand uploads an image to a registry?
Run
port
Info
Push
7
Which command can create a VM from an XML file?
virsh
GNOME
vmstatus
libvirt
8
A server HDD is now at the stage where you need to redetect the disks and any partition changes. What should you use?
fdisk
partprobe
blkid
parted
9
When setting up an office using VMs, what option provides access to both the physical network and the internet?
Host-only
Bridged
Local
None
10
While deploying a container, what subcommand initiates a command in a container?
port
run
info
push
11
An intern is preparing a procedure on basic container concepts. What is NOT a basic concept with containers?
Containers are very lightweight and share a single OS
A container is a complete, portable solution containing application code
Containers offer the same form of virtualization as virtual machines
Hosting containers provides scalability, HA, and quick deployments
12
Which command is used to create RAID arrays?
raidctl
diskmgr
mdadm
dm-multipath
13
Admin is double-checking the contents of several configuration files. Which basic Linux command might be used?
less
cat
touch
mkdir
14
The Linux command "SUDO" is similar to the Windows "Administrator".
True
False
15
One of the key benefits of a DevOps organization using configuration management processes is to do what?
Maintain speed
Limit consistency
Limit management
Maintain consistency
16
What argument should you use with the "cd" command to navigate to the parent direct?
~
Pwd
..
.
17
Bash scripting: Which argument should be used to directly reference the current working directory in the script?
.
~
..
Pwd
18
A developer needs to update a program in their version control to add the developer's changes to it. Which command?
commit
pull
branch
Push
19
How do you move from Insert Mode to Command Mode in the Vim editor?
Press "Ctrl-C"
Press ":"
Press "Esc'
Press "i"
20
Reviewing policies on the processes associated with container solutions. What is NOT part of the solution process?
Selecting the configuration file to use
Selecting and installing a container engine
Transitioning the file to an image
Running the containers
21
Ensure that all packages associated with company.app have software dependencies in the repository.
yum provides company.app
yum -y install company.app
yum deplist company.app
yum install company.app
22
Which Linux command would be best to create an image file of an entire disk?
cpio
dd
gzip
tar
23
What is the Linux command-line utility to move files or directories?
rm
cp
kill
mv
24
What type of kernel is the Linux kernel?
Monolithic Kernel
Macrokernel
Kernel Sanders
Microkernel
25
What is the Linux command-line utility to copy files or directories?
kill
mv
cp
rm
26
What would the appropriate syntax be if an admin wanted to change the owner and group of a file using the chown command?
chgrp {groupname} {filename}
chown {newowner} {filename}
chown {newowner}:{newgroup} {filename}
chown :{newgroup} {filename}
27
Which of the following is the proper syntax for displaying the name of the month?
date +%B
date +%j
date +%V
date +%A
28
What is the most fundamental network identity and also considered a physical address?
Network interface card
Hostname
Media access control
Internet Protocol
29
Which command enables you to alter the scheduling priority of an already running process?
renice
top
lsof
benice
30
Using the virsh command. What subcommand displays an inventory of recognized virtual machines?
reboot {VM}
create {XML file-name}
list
save {VM} {file-name}
31
You suspect a NIC on the network is sending excessive amounts of traffic. What tool should you use to determine if true?
tracepath
iperf
iftop
nmap
32
Which of the following commands is the most fundamental of the NetworkManager interfaces?
nmcli
nmgui
nmtui
ifconfig
33
The term "option" in Linux is the equivalent with which term Windows?
Slash
Switch
List
etc.
34
A systems administrator wants to list the available parameters to configure on their system. Where should they look?
/proc/meminfo
/var/log/messages
/proc/sys
/proc/partitions
35
Which file stores the cryptographic hash for all the user passwords?
passwd
usr
shadow
sha
36
Which command is used to displays all the files and directories is the present working directory?
pwd
ls
cd
dir
37
Reviewing the options of the docker command while working with containers; What subcommand displays system-wide details?
push
port
run
info
38
Evaluating the options for network access to VMs, what allows access to the host computer but not the network ?
None
Host-only
Bridged
Local
39
You want to know which processes are interactive, operate in the background, and allow users to interact with them?
Daemons
NTPD
SSHD
Services
40
Documentation should be created throughout the troubleshooting process.
False
True
41
An admin wants to keep track of their work by updating the timestamps on each file reviewed.
tree
touch
locate
mkdir
42
Which operator redirects both stdout and stderr?
3>
&>
>>
2>
43
Exploring the various orchestration capabilities of using an image versus a container. What is true for containers?
A container solution is comprised of three components
Containers can run without an image defining their configuration
Many identical containers can be spawned from a single image
Containers are stateless, meaning that any changes are not preserved
44
When changing attributes of certain configuration files, what would entering chattr +i {filename} accomplish?
Changing the owner of a file
Setting the immutable attribute
Unsetting the immutable attribute
Setting the version number of the file
45
You are creating a VM environment when you must force restart the VM. What subcommand can you use in this instance?
create {XML file-name}
reboot {VM}
save {VM} {file-name}
list
46
Which text editor has a graphical user interface (GUI) with a typical menu-based design that makes working with it easy?
Vi
Nano
Vim
Gedit
47
A DevOps team is simplifying the ability for users to configure their application. What would best fit this activity?
Conditionals
Loops
JSON
push
48
After GRUB2 determines which OS to boot, which file does it load into memory?
default.target
/etc/fstab
System
initrd
49
What would the corresponding absolute mode value be for permissions expressed as u=rw, g=r, o=r in symbolic mode?
600
755
700
644
50
A system admin adds addr show eth0 to the ip command to only display address information for the first ethernet port.
Subcommand
Command argument
Primary command
Command option
51
Which command shows the status of the printer queue?
lshw
lsdev
systemctl status
lpq
52
A DevOps team needs an orchestration utility that runs on Ruby and includes both declarative and imperative methods.
SaltStack
Chef
Terraform
Ansible
53
By default, what does the command uname do?
Prints the name of the host
Prints the name of the account
Prints the name of the kernel
Prints the name of GUI
54
An admin sets up a server and wants to modify settings after completing the initial setup. What should they learn next?
alias
Configuration management
Git
crontab
55
What is the first step in the Linux Troubleshooting Methodology?
Establish and Implement a Plan of Action
Identify the Problem and Determine the Scope
Verify, Prevent, Analyze, and Document
Establish and Test a Theory of Probable Cause
56
What does the "ls-a" command do?
Displays only recent logs
Display all files, including hidden
Display files in long format, including permissions
Displays only directories
57
What is a key difference between automation and orchestration?
Automation is related to permissions
Automation is related to deployment tasks
Orchestration is related to deployment tasks
Automation is related to JSON
58
What does the command "ip link" do?
Determines the Wi-Fi protocol
Shows the status of each interface
Sets up a VPN
Enables each interface
59
A tech is exploring the requirements for running a container deployment. What is the first step in container deployment?
Selecting the configuration file to use
Transitioning the file to an image
Running the containers
Selecting and installing a container engine
60
Which command can be used to change the language from English to Spanish?
localectl set-keymap
localectl set-locale
localectl set-timezone
localectl set-region
61
What is the Linux command-line utility to remove files or directories?
rm
cp
mv
kill
62
An administrator uses the stream editor command to modify files. Why would the administrator choose to use an address?
To extract the specified lines of text from a file
To act only on text that matches a given regular expression pattern
To compare text files
To separate one field from another
63
A user has exceeded the allotted storage space; How can you allow this user to save more files to the home directory?
Update the storage devices I/O scheduler to "nope"
Activate user and / or group quotas on the file system
Create quota reports
Increase the user's storage quota soft limit and hard limit
64
When deploying a set of containers. Using the docker cmd, what sub-cmd is needed to upload an image to a registry?
port
push
Info
run
65
You want to publish their script while also having a portal that shows version control info. Common utility relied on?
Ansible
Git
Chef
SaltStack
66
What is the main component of a Kubernetes deployment?
Network driver
Pod
Service mesh
Docker file
67
A DevOps team needs a version control utility. What utility best fits the team's needs?
Chef
Ansible
SaltStack
Git
68
Which mode uses the ":wq" to write and quit the Vim editor?
Visual
Execute
Command
Insert
69
Which is a bootloader?
MBR
GRUB2
UEFI
GPT