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

A systems administrator is creating a new shared directory. Which of the following commands ensures all users from the same group will be able to work with the newly created files?

A.

chmod g+w /shared

B.

chmod g+s /shared

C.

chmod g+w /shared

D.

chmod g+x /shared

An administrator logs in to a Linux server and notices the clock is 37 minutes fast. Which of the following commands will fix the issue?

A.

hwclock

B.

ntpdate

C.

timedatectl

D.

ntpd -q

Which of the following filesystems contains non-persistent or volatile data?

A.

/boot

B.

/usr

C.

/proc

D.

/var

An administrator needs to verify the user ID, home directory, and assigned shell for the user named " accounting. " Which of the following commands should the administrator use to retrieve this information?

A.

getent passwd accounting

B.

id accounting

C.

grep accounting /etc/shadow

D.

who accounting

Which of the following statements best describes Ansible?

A.

A tool used for monitoring cloud infrastructure

B.

A software configuration tool with its own declarative, Ruby-based language

C.

A CI/CD tool that allows automation using pipelines

D.

A tool that provides automation using playbooks written in YAML

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 Linux administrator needs to create accounts for a list of new users. The user account names have been defined in the USER_LIST variable as follows:

USER_LIST= " alice bob charles "

Which of the following commands should the administrator use to successfully create the user accounts?

A.

echo " $USER_LIST " | while username; do useradd -m " $username " ; done

B.

echo " $USER_LIST " | until username; do useradd -m " $username " ; done

C.

select username in " $USER_LIST " ; do useradd -m " $username " ; done

D.

for username in $USER_LIST; do useradd -m " $username " ; done

A Linux administrator needs to create accounts for a list of new users. The user account names have been defined in the USER_LIST variable by executing the following:

USER_LIST= " alice bob charles "

Which of the following commands should the administrator use to successfully create the user accounts?

A.

echo " $USER_LIST " | while username; do useradd -m " $username " ; done

B.

echo " $USER_LIST " | until username; do useradd -m " $username " ; done

C.

select username in " $USER_LIST " ; do useradd -m " $username " ; done

D.

for username in $USER_LIST; do useradd -m " $username " ; done

A Linux systems administrator is running an important maintenance task that consumes a large amount of CPU, causing other applications to slow. Which of the following actions should the administrator take to help alleviate the issue?

A.

Increase the available CPU time with pidstat.

B.

Lower the priority of the maintenance task with renice.

C.

Run the maintenance task with nohup.

D.

Execute the other applications with the bg utility.

A systems administrator receives reports about connection issues to a secure web server. Given the following firewall and web server outputs:

Firewall output:

Status: active

To Action From

443/tcp DENY Anywhere

443/tcp (v6) DENY Anywhere (v6)

Web server output:

tcp LISTEN 0 4096 *:443 :

Which of the following commands best resolves this issue?

A.

ufw disable

B.

ufw allow 80/tcp

C.

ufw delete deny https/tcp

D.

ufw allow 4096/tcp