Linux+ Final Exam 1
Quiz Summary
0 of 90 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 90 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 90
1. Question
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?
CorrectIncorrect -
Question 2 of 90
2. Question
A cloud engineer needs to change the secure remote login port from 22 to 49000. Which of the following files should the engineer modify to change the port number to the desired value?
CorrectIncorrect -
Question 3 of 90
3. Question
A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository. Which of the following commands should the administrator use for this task?
CorrectIncorrect -
Question 4 of 90
4. Question
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?
CorrectIncorrect -
Question 5 of 90
5. Question
Developers have requested implementation of a persistent, static route on the application server. Packets sent over the interface eth0 to 10.0.213.5/32 should be routed via 10.0.5.1. Which of the following commands should the administrator run to achieve this goal?
CorrectIncorrect -
Question 6 of 90
6. Question
A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following:
Which of the following commands should replace the <CONDITIONAL> string?CorrectIncorrect -
Question 7 of 90
7. Question
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?CorrectIncorrect -
Question 8 of 90
8. Question
Which of the following technologies can be used as a central repository of Linux users and groups?
CorrectIncorrect -
Question 9 of 90
9. Question
A systems administrator is troubleshooting connectivity issues and trying to find out why a Linux server is not able to reach other servers on the same subnet it is connected to. When listing link parameters, the following is presented:
Based on the output above, which of following is the MOST probable cause of the issue?CorrectIncorrect -
Question 10 of 90
10. Question
A Linux administrator was asked to run a container with the httpd server inside. This container should be exposed at port 443 of a Linux host machine while it internally listens on port 8443. Which of the following commands will accomplish this task?
CorrectIncorrect -
Question 11 of 90
11. Question
A Linux administrator needs to analyze a failing application that is running inside a container. Which of the following commands allows the Linux administrator to enter the running container and analyze the logs that are stored inside?
CorrectIncorrect -
Question 12 of 90
12. Question
A systems administrator needs to clone the partition /dev/sdc1 to /dev/sdd1. Which of the following commands will accomplish this task?
CorrectIncorrect -
Question 13 of 90
13. Question
When trying to log in remotely to a server, a user receives the following message:
The server administrator is investigating the issue on the server and receives the following outputs:
Which of the following is causing the issue?CorrectIncorrect -
Question 14 of 90
14. Question
A new Linux systems administrator just generated a pair of SSH keys that should allow connection to the servers. Which of the following commands can be used to copy a key file to remote servers?
CorrectIncorrect -
Question 15 of 90
15. Question
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?
CorrectIncorrect -
Question 16 of 90
16. Question
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?
CorrectIncorrect -
Question 17 of 90
17. Question
An administrator deployed a Linux server that is running a web application on port 6379/tcp.
SELinux is in enforcing mode based on organization policies.
The port is open on the firewall.
Users who are trying to connect to a local instance of the web application receive Error 13, Permission denied.
The administrator ran some commands that resulted in the following output:
Which of the following commands should be used to resolve the issue?CorrectIncorrect -
Question 18 of 90
18. Question
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?
CorrectIncorrect -
Question 19 of 90
19. Question
A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote. Which of the following commands will achieve the desired effect?
CorrectIncorrect -
Question 20 of 90
20. Question
An administrator needs to make some changes in the IaC declaration templates. Which of the following commands would maintain version control?
CorrectIncorrect -
Question 21 of 90
21. Question
An administrator attempts to rename a file on a server but receives the following error.
The administrator then runs a few commands and obtains the following output:
Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?CorrectIncorrect -
Question 22 of 90
22. Question
Which of the following commands will display the operating system?
CorrectIncorrect -
Question 23 of 90
23. Question
A Linux administrator recently downloaded a software package that is currently in a compressed file. Which of the following commands will extract the files?
CorrectIncorrect -
Question 24 of 90
24. Question
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?CorrectIncorrect -
Question 25 of 90
25. Question
Which of the following files holds the system configuration for journal when running systemd?
CorrectIncorrect -
Question 26 of 90
26. Question
A Linux administrator is tasked with creating resources using containerization. When deciding how to create this type of deployment, the administrator identifies some key features, including portability, high availability, and scalability in production. Which of the following should the Linux administrator choose for the new design?
CorrectIncorrect -
Question 27 of 90
27. Question
Which of the following tools is commonly used for creating CI/CD pipelines?
CorrectIncorrect -
Question 28 of 90
28. Question
A systems administrator requires that all files that are created by the user named web have read-only permissions by the owner. Which of the following commands will satisfy this requirement?
CorrectIncorrect -
Question 29 of 90
29. Question
A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/nologin exists. Which of the following PAM modules will accomplish this task?
CorrectIncorrect -
Question 30 of 90
30. Question
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?
CorrectIncorrect -
Question 31 of 90
31. Question
A Linux administrator is troubleshooting an issue in which an application service failed to start on a Linux server. The administrator runs a few commands and gets the following outputs:
Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?CorrectIncorrect -
Question 32 of 90
32. Question
A Linux administrator has installed a web server, a database server, and a web application on a server. The web application should be active in order to render the web pages. After the administrator restarts the server, the website displays the following message in the browser: Error establishing a database connection. The Linux administrator reviews the following relevant output from the systemd init files:
The administrator needs to ensure that the database is available before the web application is started. Which of the following should the administrator add to the HTTP server .service file to accomplish this task?CorrectIncorrect -
Question 33 of 90
33. Question
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?CorrectIncorrect -
Question 34 of 90
34. Question
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?
CorrectIncorrect -
Question 35 of 90
35. Question
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?
CorrectIncorrect -
Question 36 of 90
36. Question
An administrator is trying to diagnose a performance issue and is reviewing the following output:
System Properties:CPU: 4 vCPU –
Memory: 40GB –
Disk maximum IOPS: 690 –
Disk maximum throughput: 44Mbps | 44000Kbps
Based on the above output, which of the following BEST describes the root cause?CorrectIncorrect -
Question 37 of 90
37. Question
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?
CorrectIncorrect -
Question 38 of 90
38. Question
A Linux administrator was tasked with deleting all files and directories with names that are contained in the sobelete.txt file. Which of the following commands will accomplish this task?
CorrectIncorrect -
Question 39 of 90
39. Question
A Linux administrator is troubleshooting the root cause of a high CPU load and average.
Which of the following commands will permanently resolve the issue?CorrectIncorrect -
Question 40 of 90
40. Question
A Linux administrator wants to set the SUID of a file named dev_team.text with 744 access rights. Which of the following commands will achieve this goal?
CorrectIncorrect -
Question 41 of 90
41. Question
A developer has been unable to remove a particular data folder that a team no longer uses. The developer escalated the issue to the systems administrator. The following output was received:
Which of the following commands can be used to resolve this issue?CorrectIncorrect -
Question 42 of 90
42. Question
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?
CorrectIncorrect -
Question 43 of 90
43. Question
A cloud engineer is installing packages during VM provisioning. Which of the following should the engineer use to accomplish this task?
CorrectIncorrect -
Question 44 of 90
44. Question
A systems administrator is tasked with creating a cloud-based server with a public IP address.
The code is as follows:
Which of the following technologies did the systems administrator use to complete this task?CorrectIncorrect -
Question 45 of 90
45. Question
A Linux systems administrator is setting up a new web server and getting 404 – NOT FOUND errors while trying to access the web server pages from the browser. While working on the diagnosis of this issue, the Linux systems administrator executes the following commands:
Which of the following commands will BEST resolve this issue?CorrectIncorrect -
Question 46 of 90
46. Question
To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service. Which of the following should the administrator do?
CorrectIncorrect -
Question 47 of 90
47. Question
Which of the following is a function of a bootloader?
CorrectIncorrect -
Question 48 of 90
48. Question
A systems administrator configured firewall rules using firewalld. However, after the system is rebooted, the firewall rules are not present:
The systems administrator makes additional checks:
Which of the following is the reason the firewall rules are not active?CorrectIncorrect -
Question 49 of 90
49. Question
A newly created container has been unable to start properly, and a Linux administrator is analyzing the cause of the failure. Which of the following will allow the administrator to determine the FIRST command that is executed inside the container right after it starts?
CorrectIncorrect -
Question 50 of 90
50. Question
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?CorrectIncorrect -
Question 51 of 90
51. Question
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?
CorrectIncorrect -
Question 52 of 90
52. Question
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?CorrectIncorrect -
Question 53 of 90
53. Question
A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs to ensure the log file can only be written into without removing previous entries.
Which of the following commands would be BEST to use to accomplish this task?CorrectIncorrect -
Question 54 of 90
54. Question
A systems administrator needs to check if the service systemd-resolved.service is running without any errors. Which of the following commands will show this information?
CorrectIncorrect -
Question 55 of 90
55. Question
A Linux administrator needs to remove software from the server. Which of the following RPM options should be used?
CorrectIncorrect -
Question 56 of 90
56. Question
A Linux system fails to start and delivers the following error message:
Which of the following commands can be used to address this issue?CorrectIncorrect -
Question 57 of 90
57. Question
Based on an organization’s new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below.
To which of the following configuration files will the required changes need to be made?CorrectIncorrect -
Question 58 of 90
58. Question
A Linux administrator is trying to remove the ACL from the file /home/user/data. txt but receives the following error message:
Given the following analysis:
Which of the following is causing the error message?CorrectIncorrect -
Question 59 of 90
59. Question
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?
CorrectIncorrect -
Question 60 of 90
60. Question
A systems administrator made some changes in the ~/.bashrc file and added an alias command. When the administrator tried to use the alias command, it did not work. Which of the following should be executed FIRST?
CorrectIncorrect -
Question 61 of 90
61. Question
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?
CorrectIncorrect -
Question 62 of 90
62. Question
A Linux administrator cloned an existing Linux server and built a new server from that clone. The administrator encountered the following error after booting the cloned server:
The administrator performed the commands listed below to further troubleshoot and mount the missing filesystem:
Which of the following should administrator use to resolve the device mismatch issue and mount the disk?CorrectIncorrect -
Question 63 of 90
63. Question
A systems administrator installed a new software program on a Linux server. When the systems administrator tries to run the program, the following message appears on the screen.
Which of the following commands will allow the systems administrator to check whether the system supports virtualization?CorrectIncorrect -
Question 64 of 90
64. Question
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?
CorrectIncorrect -
Question 65 of 90
65. Question
A Linux systems administrator needs to persistently enable IPv4 forwarding in one of the Linux systems. Which of the following commands can be used together to accomplish this task?
CorrectIncorrect -
Question 66 of 90
66. Question
Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago. Which of the following commands will accomplish this task?
CorrectIncorrect -
Question 67 of 90
67. Question
A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key file at the server, but the administrator is still asked to provide a password during the connection.
Given the following output:
Which of the following commands would resolve the issue and allow an SSH connection to be established without a password?CorrectIncorrect -
Question 68 of 90
68. Question
A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command:
The following output is returned
Which of the following is MOST likely the issue?CorrectIncorrect -
Question 69 of 90
69. Question
A Linux engineer is setting the sticky bit on a directory called devops with 755 file permission. Which of the following commands will accomplish this task?
CorrectIncorrect -
Question 70 of 90
70. Question
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?
CorrectIncorrect -
Question 71 of 90
71. Question
Users report that connections to a MariaDB service are being closed unexpectedly. A systems administrator troubleshoots the issue and finds the following message in /var/log/messages:
Which of the following is causing the connection issue?CorrectIncorrect -
Question 72 of 90
72. Question
A developer is trying to install an application remotely that requires a graphical interface for installation. The developer requested assistance to set up the necessary environment variables along with X11 forwarding in SSH. Which of the following environment variables must be set in remote shell in order to launch the graphical interface?
CorrectIncorrect -
Question 73 of 90
73. Question
A systems administrator is implementing a new service task with systems at startup and needs to execute a script entitled test.sh with the following content:
The administrator tries to run the script after making it executable with chmod +x; however, the script will not run. Which of the following should the administrator do to address this issue?CorrectIncorrect -
Question 74 of 90
74. Question
A Linux administrator needs to correct the permissions of a log file on the server. Which of the following commands should be used to set filename.log permissions to -rwxr—r–. ?
CorrectIncorrect -
Question 75 of 90
75. Question
After listing the properties of a system account, a systems administrator wants to remove the expiration date of a user account. Which of the following commands will accomplish this task?
CorrectIncorrect -
Question 76 of 90
76. Question
A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are valid. Which of the following commands can be used for this task?
CorrectIncorrect -
Question 77 of 90
77. Question
A user generated a pair of private-public keys on a workstation. Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?
CorrectIncorrect -
Question 78 of 90
78. Question
A Linux administrator created a new file system. Which of the following files must be updated to ensure the filesystem mounts at boot time?
CorrectIncorrect -
Question 79 of 90
79. Question
A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands:
Which of the following commands would address the issue?CorrectIncorrect -
Question 80 of 90
80. Question
A systems administrator made some unapproved changes prior to leaving the company. The newly hired administrator has been tasked with revealing the system to a compliant state. Which of the following commands will list and remove the correspondent packages?
CorrectIncorrect -
Question 81 of 90
81. Question
An administrator transferred a key for SSH authentication to a home directory on a remote server. The key file was moved to .ssh/authorized_keys location in order to establish SSH connection without a password. However, the SSH command still asked for the password. Given the following output:
Which of the following commands would resolve the issue?CorrectIncorrect -
Question 82 of 90
82. Question
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?
CorrectIncorrect -
Question 83 of 90
83. Question
A Linux system is failing to boot with the following error:
Which of the following actions will resolve this issue?CorrectIncorrect -
Question 84 of 90
84. Question
A Linux administrator needs to create an image named sda.img from the sda disk and store it in the /tmp directory. Which of the following commands should be used to accomplish this task?
CorrectIncorrect -
Question 85 of 90
85. Question
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?
CorrectIncorrect -
Question 86 of 90
86. Question
A systems administrator is investigating why one of the servers has stopped connecting to the internet.
Which of the following is causing the issue?CorrectIncorrect -
Question 87 of 90
87. Question
A systems administrator is tasked with installing GRUB on the legacy MBR of the SATA hard drive. Which of the following commands will help the administrator accomplish this task?
CorrectIncorrect -
Question 88 of 90
88. Question
A junior Linux administrator is tasked with installing an application. The installation guide states the application should only be installed in a run level 5 environment.
Which of the following commands would ensure the server is set to runlevel 5?CorrectIncorrect -
Question 89 of 90
89. Question
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?
CorrectIncorrect -
Question 90 of 90
90. Question
A DevOps engineer needs to download a Git repository from https://git.company.com/admin/project.git. Which of the following commands will achieve this goal?
CorrectIncorrect