Question 111
The development team has automated their software build process so each time a change is submitted to the source code repository, a new software build is compiled. They are requesting that the Linux operations team look into automating the deployment of the software build into the test environment.
Which of the following is the benefit to the development team for implementing deployment automation?
A. To ensure the build commits are also deployed to the test environment
B. To enable notifications when builds are deployed to the test environment
C. To ensure software builds in test are not accidentally deployed to production
D. To streamline the deployment process for deploying builds into test environments
Question 112
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named `freespace`.
Which of the following would meet this requirement?
A. 13 15 * * 5 df > /freespace
B. 15 13 * * 5 df > /freespace
C. 15 1 * * 6 df > /freespace
D. 15 13 6 * * df > /freespace
Question 113
A technician wants to secure a sensitive workstation by ensuring network traffic is kept within the local subnet. To accomplish this task, the technician executes the following command: echo 0 > /proc/sys/net/ipv4/ip_default_ttl
Which of the following commands can the technician use to confirm the expected results? (Choose two.)
A. tcpdump
B. traceroute
C. route
D. iperf
E. ip
F. arp
Question 114
A junior Linux administrator needs to ensure a service will start on system boot.
Which of the following commands should be used to accomplish this task?
A. chkconfig on
B. systemctl bootup
C. service enable
D. crontab install
Question 115
SIMULATION -Find the file named core and remove it from the system.
INSTRUCTIONS -Type `help` to display a list of available commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
Question 116
DRAG DROP -As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:
Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion.
INSTRUCTIONS -Fill the blanks to build a script that performs the actual compression of rotated log files.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
Select and Place:
Question 117
A systems administrator uses a remote execution engine to iterate through each IP address in a network and run a script on remote hosts. The script captures the remote system's hostname, IP address, OS distribution, and system uptime. The output of the script gets saved to the administrator's local workstation for future processing.
Which of the following is this an example of?
A. Performance monitoring
B. Inventory
C. Agentless
D. Infrastructure as code
E. Build automation
Question 118
A Linux administrator has installed a web application firewall in front of a web server running on HTTP port 8080 and successfully started the HTTP server.
However, after opening the application URL in an Internet browser, the administrator discovered that the application does not work. The administrator performed the following diagnostic steps:
A. sysctl -w net.ipv4.ip_forward=1 then run sysctl -w /etc/sysctl.conf to enable the change
B. Edit /etc/sysctl.conf file and add net.ipv4.ip_forward = 1 then run sysctl -p /etc/sysctl.conf to enable the change
C. Add iptables rule iptables -A INPUT -m state --state NEW -p tcp --dport 8080 -j then restart httpd daemon
D. Add iptables rule iptables -A FORWARD-m state --state NEW -p tcp --dport 8080 ""j ACCEPT then restart httpd daemon
Question 119
A member of the production group issues the following command: echo "Monday through Friday" > /production_docs/daysThe command fails to execute, so the user obtains the following output: drwxr--r-- root production 0 Jun 16 2018 production-rw-r--r-- production production 4096 Jun 14 2018 days
Which of the following commands should the user execute to BEST fix the issue?
A. chmod g+w production to change the permissions on the days file
B. chgrp root production_docs/days to change the group ownership of the production_docs/days file
C. chmod g+S production to set the GUID on the production_docs directory
D. chown production to change the ownership of the production_docs directory
Question 120
A junior systems administrator created a new filesystem /dev/sda1 with mountpoint /data and added it to the /etc/fstab for auto-mounting.
When the systems administrator tries to mount the file system, the system refuses. Given the output below:
Which of the following steps is necessary?
A. Change the filesystem from /dev/sda1 to /dev/sda2 and reboot.
B. Change the options to auto,dev,sync,rw,nosuid and run the mount -a command.
C. Change the mount point to data and reboot.
D. Change the dump column to 1 and run the mount -a command.