Question 21

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?
  • Question 22

    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.

    Question 23

    A user created the following script file:
    # ! /bin/bash
    # FILENAME: /home/user/ script . sh
    echo "hello world"
    exit 1
    However, when the user tried to run the script file using the command "script . sh, an error returned indicating permission was denied. Which of the follow-ing should the user execute in order for the script to run properly?
  • Question 24

    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?
  • Question 25

    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?