Filters
Question type

Study Flashcards

A junior Linux administrator is installing a new application with CPU architecture requirements that have the following specifications: x64 bit 3.0GHz speed Minimum quad core The administrator wants to leverage existing equipment but is unsure whether the requirements of these systems are adequate. The administrator issues the following command cat  /proc/cpuinfo . The output of the command is as follows: A junior Linux administrator is installing a new application with CPU architecture requirements that have the following specifications: x64 bit 3.0GHz speed Minimum quad core The administrator wants to leverage existing equipment but is unsure whether the requirements of these systems are adequate. The administrator issues the following command cat  /proc/cpuinfo . The output of the command is as follows:   Which of the following is the recommended course of action the administrator should take based on this output? A)  Install the application, as the system meets the application requirements B)  Procure new equipment that matches the recommended specifications C)  Recompile the Linux kernel to support the installation. D)  Reconfigure lib modules to support the new application. Reconfigure lib modules to support the new application. Which of the following is the recommended course of action the administrator should take based on this output?


A) Install the application, as the system meets the application requirements
B) Procure new equipment that matches the recommended specifications
C) Recompile the Linux kernel to support the installation.
D) Reconfigure lib modules to support the new application. Reconfigure lib modules to support the new application.

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

A Linux administrator is updating iptables rules and is given the following tasks: Output a list of iptables rules. Remove all iptables rules. Which of the following actions should be performed from the terminal console to accomplish these tasks? (Choose two.)


A) iptables -F
B) iptables -L
C) iptables -I
D) iptables -C
E) iptables -A
F) iptables -N

G) A) and E)
H) A) and B)

Correct Answer

verifed

verified

A Linux administrator looks at the /etc/timezone file and determines the need to change the time zone from California to New York temporarily. Which of the following commands will accomplish this?


A) sed -f TZ=America/New_York
B) cat TZ=America/New_York
C) export TZ=America/New_York
D) printf TZ=America/New_York

E) C) and D)
F) A) and C)

Correct Answer

verifed

verified

An operator finds a user is having issues with opening certain files. Which of the following commands would allow the security administrator to list and check the SELinux context?


A) ls -D
B) ls -a
C) ls -Z
D) ls -1

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

A systems administrator wants to deploy several applications to the same server quickly. Each application should be abstracted from the host with its own dependencies and libraries and utilize a minimal footprint. Which of the following would be BEST in this scenario?


A) Virtual machines
B) Type 2 hypervisor
C) Chroot jails
D) Containers

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

A user creates and installs a Linux VM on a local workstation. The VM can only connect to the local workstation. Which of the following BEST represents the default virtual network configuration in this instance?


A) Host-only
B) Bridged
C) NAT
D) Dual-homed

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

An administrator has written the following Bash script: An administrator has written the following Bash script:   All necessary files exist in the correct locations. However, when the administrator executes /home/ user / test.sh the following error is received: No such file or directory Which of the following is the MOST likely cause of the error? A)  The shebang points to the wrong path. B)  The script is not executable. C)  The formatting of the file is incorrect. D)  Nslookup is not installed. All necessary files exist in the correct locations. However, when the administrator executes /home/ user / test.sh the following error is received: No such file or directory Which of the following is the MOST likely cause of the error?


A) The shebang points to the wrong path.
B) The script is not executable.
C) The formatting of the file is incorrect.
D) Nslookup is not installed.

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

An administrator needs to mount the shared NFS file system testhost:/testvolume to mount point /mnt/testvol and make the mount persistent after reboot. Which of the following BEST demonstrates the commands necessary to accomplish this task?


A) An administrator needs to mount the shared NFS file system testhost:/testvolume to mount point /mnt/testvol and make the mount persistent after reboot. Which of the following BEST demonstrates the commands necessary to accomplish this task? A)    B)    C)    D)
B) An administrator needs to mount the shared NFS file system testhost:/testvolume to mount point /mnt/testvol and make the mount persistent after reboot. Which of the following BEST demonstrates the commands necessary to accomplish this task? A)    B)    C)    D)
C) An administrator needs to mount the shared NFS file system testhost:/testvolume to mount point /mnt/testvol and make the mount persistent after reboot. Which of the following BEST demonstrates the commands necessary to accomplish this task? A)    B)    C)    D)
D) An administrator needs to mount the shared NFS file system testhost:/testvolume to mount point /mnt/testvol and make the mount persistent after reboot. Which of the following BEST demonstrates the commands necessary to accomplish this task? A)    B)    C)    D)

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

Which of the following server roles would assign a host IP address?


A) DHCP
B) NTP
C) DNS
D) SSH

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

A junior systems administrator has generated a PKI certificate for SSH sessions. The administrator would like to configure authentication without passwords to remote systems. Which of the following should the administrator perform?


A) Add the content of id_rsa.pub file to the remote system ~/.ssh/authorized_keys location. Add the content of id_rsa.pub file to the remote system ~/.ssh/authorized_keys location.
B) Add the content of id_rsa file to the remote system ~/.ssh/authorized_keys location. id_rsa location.
C) Add the content of id_rsa file to the remote system ~/.ssh/known_hosts location. ~/.ssh/known_hosts
D) Add the content of id_rsa.pub file to the remote system ~/.ssh/known_hosts location.

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

Which of the following are Linux desktop managers? (Choose two.)


A) KDE
B) GNOME
C) GUI
D) VNC
E) X11
F) SPICE

G) A) and C)
H) A) and B)

Correct Answer

verifed

verified

A storage administrator in a virtualized environment has been told by a user that there is no space left on the volume to which the user can write. However, a check reveals that there is 20GB of unused space. Which of the following explains the discrepancy?


A) The drive is not formatted
B) The drive is thin provisioned
C) The drive is thick provision eager zeroed
D) The drive space is overallocated

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

A server is almost out of free memory and is becoming unresponsive. Which of the following sets of commands will BEST mitigate the issue?


A) free, fack, partprobe
B) lsof, lvcreate, mdadm
C) df, du, rmmod
D) fdisk, mkswap, swapon -a

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP. Which of the following commands should the administrator execute?


A) ping -c 10 host1
B) traceroute -c 10 host1
C) netstat host1
D) pathping -c 10 host1

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

A Linux administrator needs to switch from text mode to GUI. Which of the following runlevels will start the GUI by default?


A) Runlevel 3
B) Runlevel 4
C) Runlevel 5
D) Runlevel 6

E) All of the above
F) A) and D)

Correct Answer

verifed

verified

Which of the following BEST describes containers running on a Linux system?


A) Containers only need the namespaces functionality to run on a Linux system available since kernel 2.6.
B) Containers need a hypervisor to run on a Linux system. Cgroups namespaces are functionalities used for the kernel but not for running containers.
C) Containers only need the cgroups functionality for running on a Linux system. Namespaces is not a Linux kernel functionality needed for creating and managing containers.
D) Containers use the cgroups and namespaces functionalities to isolate processes and assign hardware resources to each of those isolated processes.

E) A) and D)
F) A) and B)

Correct Answer

verifed

verified

A systems administrator is unable to reach other devices on the network and the Internet. The server is configured with the IP address 192.169.1.50/24 on eth0 . The server's router is 192.168.1.1. The administrator reviews the output of route -n : A systems administrator is unable to reach other devices on the network and the Internet. The server is configured with the IP address 192.169.1.50/24 on eth0 . The server's router is 192.168.1.1. The administrator reviews the output of route -n :   Which of the following commands should the administrator run to correct the issue? A)  route del default gw 192.168.2.1 eth0; route add default gw 192.168.1.1 eth0 B)  route add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.2.1 eth0 C)  route add 192.168.1.1 default 192.168.1.50 eth0 D)  route host gw 192.168.1.1 eth0 Which of the following commands should the administrator run to correct the issue?


A) route del default gw 192.168.2.1 eth0; route add default gw 192.168.1.1 eth0
B) route add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.2.1 eth0
C) route add 192.168.1.1 default 192.168.1.50 eth0
D) route host gw 192.168.1.1 eth0

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

A systems administrator needs to install a new piece of hardware that requires a new driver. The driver should be manually installed. Which of the following describes the order of commands required to obtain module information, install the module, and check the log for any errors during module installation?


A) lsmod, modprobe, modinfo
B) modinfo, insmod, modprobe
C) modinfo, insmod, dmesg
D) lsmod, insmod, dmesg

E) B) and C)
F) C) and D)

Correct Answer

verifed

verified

A Linux administrator needs to back up the folder /usr/domain , and the output must be a gzip compressed tar. Which of the following commands should be used?


A) tar -cv domain.tar.gz /usr/domain
B) tar -cvf /usr/domain domain.tar.gz
C) tar -czvf domain.tar.gz /usr/domain
D) tar -cxzv /usr/domain domain.tar.gz

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

A user needs to modify the IP address of a laptop. Which of the following files can be used to configure the network interface named eth0 ?


A) /etc/sysconfig/network/interfaces.cnf
B) /system/config/interfaces
C) /etc/sysconfig/network-scripts/ifcfg-eth0
D) /system/networking/ifconfig
E) /etc/interfaces/eth0.conf

F) A) and B)
G) B) and E)

Correct Answer

verifed

verified

Showing 161 - 180 of 252

Related Exams

Show Answer