191-200 Flashcards
A systems administrator intends to use a UUID to mount a new partition permanently on a Linux system. Which of the following commands can the administrator run to obtain information about the UUIDs of all disks attached to a Linux system?
A. fcstat
B. blkid
C. dmsetup
D. lescsi
B. blkid
A systems administrator creates a public key for authentication. Which of the following tools is MOST suitable to use when uploading the key to the remote servers?
A. scp
B. ssh-copy-id
C. ssh-agent
D. ssh-keyscan
B. ssh-copy-id
A systems administrator checked out the code from the repository, created a new branch, made changes to the code, and then updated the main branch. The systems administrator wants to ensure that the Terraform state files do not appear in the main branch. Which of following should the administrator use to meet this requirement?
A. clone
B. .gitignore
C. get
D. .ssh
B. .gitignore
Following the migration from a disaster recovery site, a systems administrator wants a server to require a user to change credentials at initial login. Which of the following commands should be used to ensure the aging attribute?
A. chage -d 2 user
B. chage -d 0 user
C. chage -E 0 user
D. chage -d 1 user
B. chage -d 0 user
A systems administrator wants to permit access temporarily to an application running on port 1234/TCP on a Linux server. Which of the following commands will permit this traffic?
A. firewall-cmd –new-service=l234/tcp
B. firewall-cmd –service=l234 –protocol=tcp
C. firewall-cmd –add-port=1234/tcp
D. firewall-cmd –add-whitelist-uid=l234
C. firewall-cmd –add-port=1234/tcp
An engineer needs to insert a character at the end of the current line in the vi text editor. Which of the following will allow the engineer to complete this task?
A. p
B. r
C. bb
D. A
E. i
D. A
A systems administrator is adding a Linux-based server and removing a Windows-based server from a cloud-based environment. The changes need to be validated before they are applied to the cloud-based environment. Which of the following tools should be used to meet this requirement?
A. Ansible
B. git clone
C. git pull
D. terraform plan
D. terraform plan
A systems administrator wants to check for running containers. Which of the following commands can be used to show this information?
A. docker pull
B. docker stats
C. docker ps
D. docker list
C. docker ps
A Linux systems administrator is troubleshooting an I/O latency on a single CPU server. The administrator runs a top command and receives the following output:
%Cpu(s): 0.2 us, 33.1 sy, 0.0 ni, 0.0 id, 52.4 wa, 0.0 hi, 0.2 si, 0.0 st
Which of the following is correct based on the output received from the executed command?
A. The server’s CPU is taking too long to process users’ requests.
B. The server’s CPU shows a high idle-time value.
C. The server’s CPU is spending too much time waiting for data inputs.
D. The server’s CPU value for the time spent on system processes is low.
C. The server’s CPU is spending too much time waiting for data inputs.
An administrator needs to get network information from a group of statically assigned workstations before they are reconnected to the network. Which of the following should the administrator use to obtain this information?
A. ip show
B. ifcfg -a
C. ifcfg -s
D. ifname -s
B. ifcfg -a