Month End Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

A systems administrator needs to set the IP address of a new DNS server. Which of the following files should the administrator modify to complete this task?

A.

/etc/whois.conf

B.

/etc/resolv.conf

C.

/etc/nsswitch.conf

D.

/etc/dnsmasq.conf

Following the completion of monthly server patching, a Linux administrator receives reports that a critical application is not functioning. Which of the following commands should help the administrator determine which packages were installed?

A.

dnf history

B.

dnf list

C.

dnf info

D.

dnf search

A DevOps engineer made some changes to files in a local repository. The engineer realizes that the changes broke the application and the changes need to be reverted back. Which of the following commands is the best way to accomplish this task?

A.

git pull

B.

git reset

C.

git rebase

D.

git stash

A DevOps engineer needs to create a local Git repository. Which of the following commands should the engineer use?

A.

git init

B.

git clone

C.

git config

D.

git add

Which of the following is a reason multiple password changes on the same day are not allowed?

A.

To avoid brute-forced password attacks by making them too long to perform

B.

To increase password complexity and the system's security

C.

To stop users from circulating through the password history to return to the originally used password

D.

To enforce using multifactor authentication with stronger encryption algorithms instead of passwords

A systems administrator is reconfiguring existing user accounts in a Linux system. Which of the following commands should the administrator use to include "myuser" in the finance group?

A.

groupadd finance myuser

B.

groupmod finance myuser

C.

useradd -g finance myuser

D.

usermod -aG finance myuser

Which of the following passwords is the most complex?

A.

H3sa1dt01d

B.

he$@ID$heTold

C.

H3s@1dSh3t0|d

D.

HeSaidShetold

A systems administrator wants to review the logs from an Apache 2 error.log file in real time and save the information to another file for later review. Which of the following commands should the administrator use?

A.

tail -f /var/log/apache2/error.log > logfile.txt

B.

tail -f /var/log/apache2/error.log | logfile.txt

C.

tail -f /var/log/apache2/error.log >> logfile.txt

D.

tail -f /var/log/apache2/error.log | tee logfile.txt

A Linux administrator receives reports about MySQL service availability issues. The administrator observes the following information:

    uptime -p shows the system has been up for only 2 minutes

    journalctl shows messages indicating:mysqld invoked oom-killermysqld cpuset=/ mems_allowed=0

Which of the following explains why the server was offline?

A.

The process exhausted server memory.

B.

The process was intentionally terminated by a privileged user.

C.

The process crashed because of a filesystem error.

D.

A network outage caused a service availability issue.

Which of the following is the main reason for setting up password expiry policies?

A.

To avoid using the same passwords repeatedly

B.

To mitigate the use of exposed passwords

C.

To force usage of passwordless authentication

D.

To increase password strength and complexity