MoreExam
1. Question Content...
EXPLANATION
Answer: X - EXPLANATION Content.
Question1: A Linux administrator needs to ensure that Java 7 and Java 8 are both locally available for developers to use when deploying containers. Currently only Java 8 is available. Which of the following commands should the administrator run to ensure both versions are available?
Question2: A systems administrator is checking the system logs. The administrator wants to look at the last 20 lines of a log. Which of the following will execute the command?
Question3: A cloud engineer needs to remove all dangling images and delete all the images that do not have an associated container. Which of the following commands will help to accomplish this task?
Question4: A systems administrator is investigating why one of the servers has stopped connecting to the internet.Which of the following is causing the issue?
Question5: A systems administrator is encountering performance issues. The administrator runs 3 commands with the following outputThe Linux server has the following system propertiesCPU: 4 vCPUMemory: 50GBWhich of the following accurately describes this situation?
Question6: A Linux systems administrator receives a notification that one of the server's filesystems is full. Which of the following commands would help the administrator to identify this filesystem?
Question7: A Linux administrator needs to redirect all HTTP traffic temporarily to the new proxy server 192.0.2.25 on port 3128. Which of the following commands will accomplish this task?
Question8: A cloud engineer is asked to copy the file deployment.yaml from a container to the host where the container is running. Which of the following commands can accomplish this task?
Question9: A junior systems administrator has just generated public and private authentication keys for passwordless login. Which of the following files will be moved to the remote servers?
Question10: A Linux administrator is scheduling a system job that runs a script to check available disk space every hour. The Linux administrator does not want users to be able to start the job. Given the following:The Linux administrator attempts to start the timer service but receives the following error message:Which of the following is MOST likely the reason the timer will not start?
Question11: A Linux administrator is creating a primary partition on the replacement hard drive for an application server. Which of the following commands should the administrator issue to verify the device name of this partition?
Question12: A development team asks an engineer to guarantee the persistency of journal log files across system reboots. Which of the following commands would accomplish this task?
Question13: Which of the following tools is BEST suited to orchestrate a large number of containers across many different servers?
Question14: A systems administrator is troubleshooting a connectivity issue pertaining to access to a system named db.example.com. The system IP address should be 192.168.20.88. The administrator issues the dig command and receives the following output:The administrator runs grep db.example.com /etc/hosts and receives the following output:Given this scenario, which of the following should the administrator do to address this issue?
Question15: A systems administrator pressed Ctrl+Z after starting a program using the command line, and the shell prompt was presented. In order to go back to the program, which of the following commands can the administrator use?
Question16: A systems administrator has been tasked with disabling the nginx service from the environment to prevent it from being automatically and manually started. Which of the following commands will accomplish this task?
Question17: A Linux engineer needs to create a custom script, cleanup.sh, to run at boot as part of the system services. Which of the following processes would accomplish this task?
Question18: A systems technician is working on deploying several microservices to various RPM-based systems, some of which could run up to two hours. Which of the following commands will allow the technician to execute those services and continue deploying other microservices within the same terminal section?
Question19: A systems administrator is tasked with mounting a USB drive on a system. The USB drive has a single partition, and it has been mapped by the system to the device /dev/sdb. Which of the following commands will mount the USB to /media/usb?
Question20: Several users reported that they were unable to write data to the /oracle1 directory. The following output has been provided:Which of the following commands should the administrator use to diagnose the issue?
Question21: A Linux engineer needs to download a ZIP file and wants to set the nice of value to -10 for this new process. Which of the following commands will help to accomplish the task?
Question22: A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemctl isolate graphical.target and rebooted the system by running systemctl reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal. Which of the following is the issue?
Question23: A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testing email connectivity to the local mail server using the mail command on a local machine when the following error appeared:The local machine DNS settings are:Which of the following commands could the engineer use to query the DNS server to get mail server information?
Question24: An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should the administrator use to identify the correct version of this file?
Question25: A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running daily. Which of the following is MOST likely causing the issue?
Question26: An administrator needs to make some changes in the IaC declaration templates. Which of the following commands would maintain version control?
Question27: A Linux administrator is tasked with adding users to the system. However, the administrator wants to ensure the users' access will be disabled once the project is over. The expiration date should be 2021-09-30. Which of the following commands will accomplish this task?
Question28: Which of the following directories is the mount point in a UEFI system?
Question29: Which of the following data structures is written in JSON?A)B)C)D)
Question30: A junior administrator is setting up a new Linux server that is intended to be used as a router at a remote site. Which of the following parameters will accomplish this goal?
Question31: A Linux administrator needs to create a new cloud.cpio archive containing all the files from the current directory. Which of the following commands can help to accomplish this task?
Question32: An administrator installed an application from source into /opt/operations1/ and has received numerous reports that users are not able to access the application without having to use the full path /opt/operations1/bin/*. Which of the following commands should be used to resolve this issue?
Question33: A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command:The following output is returnedWhich of the following is MOST likely the issue?
Question34: A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-owners. Which of the following will accomplish this goal?
Question35: A systems administrator needs to reconfigure a Linux server to allow persistent IPv4 packet forwarding. Which of the following commands is the correct way to accomplish this task?
Question36: A Linux user reported the following error after trying to connect to the system remotely:ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue:Which of the following commands will resolve this issue?
Question37: A systems administrator created a web server for the company and is required to add a tag for the API so end users can connect. Which of the following would the administrator do to complete this requirement?
Question38: A Linux engineer receives reports that files created within a certain group are being modified by users who are not group members. The engineer wants to reconfigure the server so that only file owners and group members can modify new files by default. Which of the following commands would accomplish this task?
Question39: An administrator recently updated the BIND software package and would like to review the default configuration that shipped with this version. Which of the following files should the administrator review?
Question40: A Linux administrator modified the SSH configuration file. Which of the following commands should be used to apply the configuration changes?
Question41: Users have reported that the interactive sessions were lost on a Linux server. A Linux administrator verifies the server was switched to rescue.target mode for maintenance. Which of the following commands will restore the server to its usual target?
Question42: A Linux administrator recently downloaded a software package that is currently in a compressed file. Which of the following commands will extract the files?
Question43: A Linux administrator needs to remove software from the server. Which of the following RPM options should be used?
Question44: A Linux system is failing to boot. The following error is displayed in the serial console:[[1;33mDEPEND[Om] Dependency failed for /data.[[1;33mDEPEND[Om] Dependency failed for Local File Systems...Welcome to emergency mode! After logging in, type "journalctl -xb" to viewsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.Give root password for maintenance(or type Control-D to continue}Which of the following files will need to be modified for this server to be able to boot again?
Question45: A Linux system fails to start and delivers the following error message:Which of the following commands can be used to address this issue?
Question46: A Linux administrator is trying to remove the ACL from the file /home/user/dat a. txt but receives the following error message:Given the following analysis:Which of the following is causing the error message?
Question47: A Linux administrator copied a Git repository locally, created a feature branch, and committed some changes to the feature branch. Which of the following Git actions should the Linux administrator use to publish the changes to the main branch of the remote repository?
Question48: A cloud engineer needs to check the link status of a network interface named eth1 in a Linux server. Which of the following commands can help to achieve the goal?
Question49: Users have been unable to reach www.comptia.org from a Linux server. A systems administrator is troubleshooting the issue and does the following:Based on the information above, which of the following is causing the issue?
Question50: A cloud engineer needs to launch a container named web-01 in background mode. Which of the following commands will accomplish this task''
Question51: A systems administrator is tasked with creating an Ansible playbook to automate the installation of patches on several Linux systems. In which of the following languages should the playbook be written?
Question52: A systems administrator wants to test the route between IP address 10.0.2.15 and IP address 192.168.1.40. Which of the following commands will accomplish this task?
Question53: After installing some RPM packages, a systems administrator discovers the last package that was installed was not needed. Which of the following commands can be used to remove the package?
Question54: A systems administrator is deploying three identical, cloud-based servers. The administrator is using the following code to complete the task:Which of the following technologies is the administrator using?
Question55: A Linux administrator is troubleshooting SSH connection issues from one of the workstations.When users attempt to log in from the workstation to a server with the IP address 104.21.75.76, they receive the following message:The administrator reviews the information below:Which of the following is causing the connectivity issue?
Question56: A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct information?