Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

An administrator is reviewing the boot logs on a system that is having intermittent issues when trying to access certain directories and files. The following errors appear in dmesg:

mathematica

CopyEdit

I/O error, dev sda1, sector 456788

Buffer I/O error on device sda1, logical block 378994

Which of the following actions should the administrator take to resolve the issue?

A.

Use dd to copy and reformat the disk

B.

Use gddrescue to copy the disk, edit /etc/fstab, replace the disk

C.

Use fsck /dev/sda1 in GRUB recovery

D.

Boot a recovery disk, run fsck on unmounted drive

A systems administrator receives reports that several virtual machines in a host are responding slower than expected. Upon further investigation, the administrator obtains the following output from one of the affected systems:

Which of the following best explains the reported issue?

A.

The physical host is running out of CPU resources, leading to insufficient CPU time being allocated to virtual machines.

B.

The physical host has enough CPU cores, leading to users running more processes to compensate for the slower response times.

C.

The virtual machine has enough CPU cycles, leading to the system use percentage being higher than expected.

D.

The virtual machine is running out of CPU resources, leading to users experiencing longer response times.

Which of the following specifications is used to perform disk encryption in a Linux system?

A.

LUKS

B.

TLS

C.

SSL

D.

NFS

Users connecting to a MySQL database on a Linux system report frequent errors. An administrator reviews the following partial output of the /proc/meminfo and free commands:

total used free

Mem: 1011966 151930 860036

Swap: 1191972 1181716 10256

MemTotal: 1011966 kB

MemFree:

SwapTotal: 1191972 kB

SwapFree: 10256 kB

Which of the following should the administrator do to ensure that the MySQL service will continue to run even if the system runs out of swap space? (Select two.)

A.

Issue the sysctl -w vm.overcommit_ratio=100 command.

B.

Issue the sysctl -w vm.overconunit_memory=2 command. (Invalid key)

C.

Issue the dd if=/dev/zero of=/swapfile bs=1024 count=65536 command.

D.

Issue the mkswap /dev/sda2; swapon -v /dev/sda2 command.

E.

Reload the /etc/fstab file by issuing the mount -a command. (Not sufficient alone)

F.

Use disk quotas on the swap space to prevent MySQL from overutilizing the swap partition.

An application requires a configuration file be placed in each user's home directory when an account is created. In which of the following locations should the administrator place the configuration file?

A.

/etc/ske1

B.

/etc/sysconfig

C.

/etc/ssh

D.

/etc/rc.local

A systems administrator needs to compress log files using the .tar.bz2 format. Which of the following commands should the administrator use?

A.

tar -cvtf logs.car.bz2 /var/log/*

B.

tar -cvzf logs.tar.bz2 /var/log/*

C.

tar -cvjf logs.tar.bz2 /var/log/*

D.

tar -cvbf logs.tar.bz2 /var/log/*

A Linux administrator is changing the default system umask. The newly created files should have the -rw-r----- permission, and the newly created directories should have the drwxr----- permission. Which of the following commands should the administrator use?

A.

umask 0035

B.

umask 0036

C.

umask 0037

D.

umask 0038

A Linux engineer wants to give read-write-execute permissions for the cloud_users directory to user Oliver. Which of the following commands should the engineer use?

A.

setfacl -L Oliver/cloud_users

B.

setfacl -x rwx/cloud_users

C.

setfacl -P rwx/cloud_users

D.

setfacl -m u:Oliver/cloud_users

An administrator changed the default port of an SSH server to 2222 on myhost, and clients are not able to connect. The administrator runs some commands and receives the following output:

vbnet

Copy code

$ ssh -p 2222 myhost

ssh:connect to host myhost on port 2222: No route to host

Which of the following commands should be run on myhost?

A.

firewall-cmd --zone=public --add-service=ssh

B.

firewall-cmd --zone=public --add-port=2222

C.

iptables --zone=public --add-service=ssh

D.

iptables --zone=public --add-port=2222

NO: 20:

A hardened physical Linux system allows regular, unprivileged users to remotely connect to the server using SSH only. No sudo tool has been installed. Which of the following should the Linux administrator use to perform administrative tasks on this host? (Select two).

A.

Create an SSH key and copy it to the remote server to allow passwordless log-in.

B.

Access the server's physical console and use the root user’s password to log in.

C.

Install the telnet server on this system to be able to use a root account.

D.

Use the su command and enter the root user's password.

E.

Install the sudo command using the unprivileged user’s account.

F.

Add the user to the wheel group.