and Answers
System targets roughly correspond to runlevels used on earlier versions of RHEL. Which of the
following runlevels corresponds to rescue.target? Correct Ans-1
What does rsyslogd use to define the severity of the message that needs to be logged?
Correct Ans-Priority
Which of the following is the default location from where a program gets its input? Correct
Ans-STDIN
Which system log files is the generic log file where most messages are written to? Correct
Ans-/var/log/messages
After starting a rescue system, you usually need to enable full access to the on-disk installation.
Typically, the rescue disk detects your installation and mounts it on the /mnt/sysimage
directory. To fix access to the configuration files and their default locations as they should be
available on disk, you need to make the contents of this directory your actual working
environment. Which of the following commands will you use to accomplish the task? Correct
Ans-chroot /mnt/sysimage
Which of the following files is used to define the default settings for all users when starting a
login shell to construct the user environment? Correct Ans-/etc/profile
, Which of the following SELinux elements is typically a file or a port that a source domain is
trying to access? Correct Ans-Target Domain
Consider the following text of a document:Pomegranate Pineapple Papaya Pear Plum Suppose,
the cursor is currently blinking at the word "nate" of the "Pomegranate" text of the document.
Which of the following vim commands will you use so that the cursor goes to the first position
in the current line? Correct Ans-^
Which of the following user-extended attributes ensures that the file access time of the file is
not modified? Correct Ans-A
Which of the following commands verify the availability of ports on your server?Each correct
answer represents a complete solution. Choose all that apply. Correct Ans-ss netstat
A user has the read permission which is applied to a directory. Which of the following things the
user is allowed to do? Correct Ans-list the contents of the directory
Which of the following directories contains configuration files that are used by programs and
services on your server as well as this directory is essential during boot? Correct Ans-/etc
Which of the following is a valid command to add a second DNS server for the same
parameters? Correct Ans-nmcli con mod static +ipv4.dns 8.8.8.8