Summer Sale - Limited Time 55% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 5763r953

Welcome To DumpsPedia

XK0-004 Sample Questions Answers

Questions 4

An administrator is writing a Bash script that contains a loop that increments the value of the variable count with each loop iteration by 1. Which of the following should the administrator use?

Options:

A.

$count++

B.

Count=’expr $count+1’

C.

Count = $conunt+1

D.

((++count))

Buy Now
Questions 5

A junior system administrator had trouble installing and running an Apache web server on a Linux server. You have been tasked with installing the Apache web server on the Linux server and resolving the issue that prevented the junior administrator from running Apache.

INSTRUCTIONS

Install Apache and start the service. Verify that the Apache service is running with the defaults.

Typing “help” in the terminal will show a list of relevant commands.

If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

CentOS Command Prompt

Options:

Buy Now
Questions 6

A virtual machine logs al limes using UTC The systems administrator would like to have one script that outputs times that are in the Amenca/Chicago time zone. Which of the following would the administrator MOST likely use in the script to accounts.

Options:

A.

echo 'env TZ=America/Chicago date' >> mylog.-xt

B.

hwclock --localtime » -mylog.txt

C.

date -d 'Tz="America/Chicago" now’ >> mylog.txt

D.

timedatect1 set-timezone "America/Chicago" $$ date >> mylog.txt

Buy Now
Questions 7

An administrator needs to copy files from a Samba share where the server name is accounting. local, the share is reports, and the username is admin. Assuming local directories exist, which of the following commands would connect to the share?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

Buy Now
Questions 8

Vytvcft of the following a a fie that can define how to build deploy and mstaf various components for a Linux application hosted m a cloud environment?

Options:

A.

OVF

B.

YAML

C.

Virsh

D.

VMM

Buy Now
Questions 9

Which of the following directories contains information related to various runtime processes, such as hardware and system memory?

Options:

A.

/Usr/bin

B.

/Opt

C.

/Proc

D.

/etc/local/

Buy Now
Questions 10

A Lunix administrator added storage to an XFS-formatted filesystem at /dev/mapper/vgSlash-lvLog device using the LVM tools. However the additional space does not show up when the administrator runs the df -h command. Which of the following commands should the adiministrator run to resolve thrs issue?

Options:

A.

Xfs-growfs/dev/mapper/vgSlash-lvLog

B.

dd if=dev/zero of=/dev/mapper/vgSlash-IvLog bs=IN

C.

resize2fs /dev/mapper/vgSlash-IvLog

D.

Ivextend –n IvLog VgSlash –L+10G

Buy Now
Questions 11

Ann, a Linux administrator, is storing scripts in a private Git repository. Which of the following commands should Ann use to avoid entering the login and password every time Ann commits change?

Options:

A.

Git init shared-true

B.

Echo authe n tapprove ‘’>> .git/config

C.

Git credential approve

D.

Git config credential.help cache

Buy Now
Questions 12

Which of the following commands would show the default printer on a Linux system?

Options:

A.

lpr

B.

lpq

C.

lpstat

D.

lspci

Questions 13

An administrator is troubleshooting an application that has failed to start after the server was rebooted. Noticing the data volume is not mounted, the administrator attempts to mount it and receives this error:

Upon checking the logical volume status, the administrator receives this information:

Which of the following can be said about the data logical volume, and how can this problem be resolved?

Options:

A.

The logical volume is not active. The administrator should make it active with lvchange -ay /dev/

datavg/datalv and then mount it.

B.

The logical volume file system has become corrupted. The administrator should repair it with xfs_repair/dev/datavg/datalv and then mount it.

C.

The logical volume is OK but the /dev special files are missing. The administrator should recreate them by running /dev/MAKEDEV.

D.

The file system is read-only. The administrator should remount it as read-write with the command mount - o remount.rw /data.

Buy Now
Questions 14

A systems administrator wants to mount an ISO to access its content. Using /mnt as a mount point, which of

the following is the correct syntax?

Options:

A.

mount -o iso9660 /dev/sr0 /mnt

B.

mount -o loop -t iso /mnt

C.

mount -o loop /tmp/image.iso /mnt

D.

mount -o loop /dev/kvm /mnt

Buy Now
Questions 15

A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP.

Which of the following commands should the administrator execute?

Options:

A.

ping –c 10 host1

B.

traceroute –c 10 host1

C.

netstat host1

D.

pathping –c 10 host1

Buy Now
Questions 16

An administrator needs to see a list of the system user’s encrypted passwords. Which of the following Linux files does the administrator need to read?

Options:

A.

/etc/shadow

B.

/etc/skel

C.

/etc/passwd

D.

/etc/pw

Buy Now
Questions 17

A Linux storage administrator wants to create a logical volume group. Which of the following commands is required to start the process?

Options:

A.

pvcreate

B.

vgcreate

C.

lvcreate

D.

mkfs.xfs

Buy Now
Questions 18

A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate.

The administrator uses the command renice -n -5 -p2864, but it does not solve the issue. Which of the following commands should the administrator execute to correct the issue?

Options:

A.

nice -n 5 -p 2864

B.

nice -n -5 -p 2864

C.

renice -n 10 -p 2864

D.

renice -n -10 -p 2864

Buy Now
Questions 19

Joe, a user, is unable to log in to the server and contracts the systems administrator to look into the issue. The administrator examines the /etc/passwd file and discovers the following entry:

joe:x:505:505::/home/joe:/bin/false

Which of the following commands should the administrator execute to resolve the problem?

Options:

A.

usermod –s /bin/bash joe

B.

passwd –u joe

C.

useradd –s /bin/bash joe

D.

chage –E -1 joe

Buy Now
Questions 20

A Linux administrator needs to back up the folder /usr/domain, and the output must be a gzip compressed tar. Which of the following commands should be used?

Options:

A.

tar –cv domain.tar.gz /usr/domain

B.

tar –cvf /usr/domain domain.tar.gz

C.

tar –czvf domain.tar.gz /usr/domain

D.

tar –cxzv /usr/domain domain.tar.gz

Buy Now
Questions 21

A systems administrator wants to know the current status of a series of dd jobs that were started in the background three hours ago.

Which of the following commands will achieve this task?

Options:

A.

sudo killall –HUP dd

B.

sudo killall dd

C.

sudo killall –TERM dd

D.

sudo killall -USR1 dd

Buy Now
Questions 22

A user attempts to use the mount -a command but gets the following error:

mount: mount point /mnt/test does not exist

Which of the following commands best describes the action the Linux administrator should take NEXT?

Options:

A.

mount –a /mnt/test

B.

mkdir –p /mnt/test

C.

mdadm –p /mnt/test

D.

mkfs /mnt/test

E.

touch /mnt/test

Buy Now
Questions 23

A junior Linux administrator needs to create 16 empty files quickly that will contain sales information for each

quarter for the past four years. Which of the following commands will meet this requirement?

Options:

A.

touch {2015,2016,2017,2018}.{q1,q2,q3,q4}

B.

touch [2015,2016,2017,2018].[q1,q2,q3,q4]

C.

touch ‘2015,2016,2017,2018‘.‘q1,q2,q3,q4‘

D.

touch {2015.2016.2017.2018}.{q1.q2.q3.q4}

Buy Now
Questions 24

A user issues the following command:

ls –l /var/log | egrep –e ‘^d[rwx]{3}.*[rw-]{3}.*’

The list of files in the system is shown below:

Which of the following results matches the command issued?

Options:

A.

drwxr-x--- 2 root adm 4096 Apr 25 14:41 unattended-upgrades

drwxr-x--- 2 root adm 4096 Apr 25 15:41 attended-upgrades

B.

drwxr-xr-x 2 root root 4096 Apr 24 08:36 apt

drwxr-xr-x 2 root root 4096 Apr 9 14:25 dist-upgrade

drwxr-x--- 2 root adm 4096 Apr 25 14:41 unattended-upgrades

C.

drwxr-xr-x 2 root root 4096 Apr 24 08:36 apt

drwxr-xr-x 2 root root 4096 Apr 9 14:25 dist-upgrade

drwxr-x--- 2 root adm 4096 Apr 25 15:41 attended-upgrades

D.

-rw-r--r-- 1 root root 2877 Apr 24 14:14 alternatives.log

-rw-r--r-- 1 syslog adm 246139 Jun 12 15:21 cloud-init.log

-rw-r--r-- 1 root root 8872 Jun 12 15:21 cloud-init-output.log

Buy Now
Questions 25

A company wants to provide internal identity verification services for networked devices. Which of the following servers should be installed?

Options:

A.

SSH

B.

VPN

C.

CA

D.

DHCP

E.

DNS

Buy Now
Questions 26

A technician wants to create a set of directories named dir9 and change their permissions so only the owner can manage their content. Which of the following scripts will accomplish this task?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 27

A Linux administrator needs the “tech” account to have the option to run elevated commands as root.

Which of the following commands would BEST meet this goal?

Options:

A.

$ su – tech –c “/bin/bash”

B.

# usermod –aG wheel tech

C.

# sudo –I tech

D.

# groupadd –u tech –g root

Buy Now
Questions 28

A Linux administrator needs to take stock of USB devices attached to the system.

Which of the following commands would be BEST to complete this task?

Options:

A.

lspci

B.

lsusb

C.

cat /proc/USB

D.

modprobe -–usb

Buy Now
Questions 29

An administrator was updating several systems and received the following warning for each one: No support Locale en_US.UTF-8. Which of the following should the administrator run to eliminate this warning?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 30

Which of the following commands should a system administrator use to configure a passwordless login to remote system? (Select TWO.)

Options:

A.

Cp

B.

Ssh-agent

C.

Ssh-copy-id

D.

Ssh-keygen

E.

Ssh-add

F.

openssl

Buy Now
Questions 31

A user does not want Bluetooth to start up event time the system starts. Which of the following commands should the user execute to accomplish this task?

Options:

A.

systemctl disabled bluetcc-h.service

B.

systemctl disable bluetccth.service

C.

systemctl stop bluetooth.service

D.

systemctl stepped bluetccth.service

Buy Now
Questions 32

An administrator notices the HISTSIZE variable is 50, using the commands below:

HISTSIZE=50

export HISTSIZE

The administrator rechecks the HISTSIZE value using echo HISTSIZE but gets no value. Which of the

following commands should the administrator use to retrieve its value?

Options:

A.

printenv | grep $HISTSIZE

B.

echo HISTSIZE

C.

printf HISTSIZE

D.

grep $HISTSIZE

Buy Now
Questions 33

A user wants to alias dir so it always returns the contents of the ls -la command. However, the user has to

reset the alias with every login.

Which of the following is the BEST action the user can take to ensure the command is always available?

Options:

A.

echo "alias dir=ls -la" > /etc/profile

B.

echo "alias dir=ls -la" >> /etc/skel

C.

echo "alias dir=ls -la" >> ~/.profile

D.

echo "alias dir=ls -la" > ~/.bashrc

Buy Now
Questions 34

A systems engineer scheduled an at job that will reboot a critical server. A developer states the processes will not complete for another three hours.

Which of the following will help the systems engineer to remove the job?

Options:

A.

atq

atrm

B.

at -q

atrm

C.

atq

atrm

D.

at -q

atrm

Buy Now
Questions 35

A site reliability engineer updated the latest configuration management scripts and committed them to a

workstream called either test or patch. A Linux administrator wants to ensure these latest workstreams are

able to be retrieved to the server. Which of the following is the BEST Git attribute to use?

Options:

A.

branch

B.

fetch

C.

log

D.

pull

Buy Now
Questions 36

A Linux systems administrator is implementing Source Code Management for the web application server

configuration files located in /etc/httpd/. Which of the following steps should the administrator perform

FIRST?

Options:

A.

Clone the remote repository using ‘git clone’

B.

Create a new repository using ‘git init’

C.

Retrieve the remote changes using ‘git commit’

D.

Configure the directory for git using ‘git config’

Buy Now
Questions 37

Which of the following is the purpose of the vmlinux file on a Linux system?

Options:

A.

To prevent a Linux kernel panic

B.

To start a Linux virtual machine

C.

To provide the executable kernel for the system

D.

To enable resource access to the network

Buy Now
Questions 38

An administrator is investigating issues with an unresponsive website hosted on an internal web server named websrv. After gathering diagnostics data the administrator performs the following analysis:

Which of the following would MOST likely resolve the issue on the web server?

Options:

A.

Systemct1 restart httpd

B.

Ifup etho

C.

Iptables –I INPUT 1 –p tcp –dport 80 –j ACCETP

D.

Route add default gw 10.0.112.0eth0

Buy Now
Questions 39

A server technician deployed ten ctoned Linux devices in an organization. When testing network functionality of the devices, the technician notices the cloned devices have identical hostnames. Which of the following commands si hostnames of the devices permanently'?

Options:

A.

Edit the 'etc/dhcp/dhclient .conf file.

B.

Edit the /etc/sysconfig/network file.

C.

Issue the host- command

D.

Issue the nslookup command

Buy Now
Questions 40

A Linux administrator configured several network interfaces to be used for backup. The administrator entered the following commands:

After the last command, a new interlace appeared as connected and worked until the Linux system was rebooted. After the reboot, the Interface did not connect properly. Which of the following configuration changes are needed to ensure that the Interface connects automatically?

Options:

A.

The backup Interface should be reconfigured with a / 2 4 subnet mask.

B.

autoconnect yes should be added to the interface configuration.

C.

mcli conn up backup should be executed

D.

ip link set eth1 should be performed.

Buy Now
Questions 41

Which of the following can cause a kernel panic message after a system reboot?

Options:

A.

Processor failure

B.

PXE boot failure

C.

USB device failure

D.

Drive failure

Buy Now
Questions 42

Which of the following BEST describes the difference between a container and a VM?

Options:

A.

Containers share host OS libraries and a kernel, while VMs have their own libraries and kernel.

B.

Containers are larger than VMs.

C.

VMs share host libraries and a kernel, while containers have their own libraries and kernel.

D.

VMs are larger than containers.

Buy Now
Questions 43

A system ran out of storage space on a particular mount and will not allow anything to be written to disk. The df command shows there are 6GB free on the mount, and there is no inode exhaustion. This issue has happened before due to a known large log file that was not being rotated. The administrator remembers the file name but cannot remember the location of the log file or which process is writing to it. Which of the following would be the BEST solution to correct this issue while maintaining availability?

Options:

A.

Use the lsof command to find where the large log file is located and truncate it

B.

Use the locate command to find where the large log file is located and delete it

C.

Use the du command to find where the large log file is located and delete it

D.

Use the ps command to find which process is writing to the log file, and then kill and restart the process

Buy Now
Questions 44

After running an Nmap scan on a local area network, a penetration tester notices several older Linux servers have port 23 open Which of the following should the systems administrator do as a secunty best practice?

Options:

A.

Use a non-standard port for Telnet

B.

Disable and umnstall the Telnet service

C.

Ensure the kernels are up to date with the latest patches

D.

Configure the firewall to allow Telnet access only from trusted networks

Buy Now
Questions 45

A Linux administrator needs to back up files from a user's home directory to a remote server. The administrator

copied the files last week but must ensure any files created or modified since then are added.

Which of the following is the BEST command for the administrator to use?

Options:

A.

scp -r /home/user99/* admin@backup.myip.xio:/backups/user99/

B.

rsync -r /home/user99 admin@backup.myip.xio:/backups

C.

cp -rf /home/user99/* /mnt/backups/user99/

D.

sftp -b /home/user99/* admin@backup.myip.xio:/backups

Buy Now
Questions 46

An administrator receives the following message on a remote server: Cannot open display. Which of the

following should the administrator have used to log in to the server?

Options:

A.

xrdp –h server.company.com

B.

ssh –X server.company.com

C.

xvnc server.company.com

D.

rdesktop server.company.com

Buy Now
Questions 47

A Linux administrator needs to add some files in a directory to the Git repository but must exclude some local

.tmp files that are occasionally created by the scripts.

Which of the following is the BEST way to accomplish this task?

Options:

A.

git rm .tmp

B.

git add -x .tmp *

C.

echo .tmp >> .gitignore

D.

rm -rf .tmp

Buy Now
Questions 48

A Linux team is using Git to version a set of custom scripts. A team member has made an update to a script

and published the changes to the repository.

Which of the following is the BEST way to retrieve the latest changes to the administrator's local working copy?

Options:

A.

git fetch

B.

git merge

C.

git commit

D.

git pull

Buy Now
Questions 49

A junior administrator is configuring local name lookups for fully qualified domain names in an isolated environment. The administrator is given a checklist and must accomplish the following tasks:

  • Add localhost with loopback address.
  • Add 192.168.192.12/24 to resolve to database01.comptia.org

Given this scenario, which of the following steps should the administrator perform to accomplish these tasks?

Options:

A.

Open the /etc/nsswitch.conf file with a file editor and add the following lines:

127.0.0.1 localhost

192.168.192.12 database01.comptia.org

B.

Open the /etc/dhcpd.conf file with a file editor and add the following lines:

127.0.0.1 localhost

192.168.192.12 database01.comptia.org

C.

Open the /etc/hosts file with a file editor and add the following lines:

127.0.0.1 localhost

192.168.192.12 database01.comptia.org

D.

Open the /etc/network file with a file editor and add the following lines:

127.0.0.1 localhost

192.168.192.12 database01.comptia.org

Buy Now
Questions 50

An administrator needs to download a monitoring agent called node_exporter.0.16.0-Linux.amd64 from the internal web page https://company.local/downloads/. The server does not have graphical interface.

Which of the following commands will accomplish this task?

Buy Now
Questions 51

A systems administration team has decided to their systems as immutable instances. They keep the desired state of each of their systems in version control and apply automation whenever they provision a new instance. If there is an issue with one of their servers, instead of troubleshooting the issue they terminate the instance and rebuild it using automation.

Which of the following is this an example of?

Options:

A.

Inventory

B.

Orchestration

C.

Infrastructure as code

D.

Agentless deployment

Buy Now
Questions 52

An administrator needs to run the rescript. sh script stored on the /nr.t/disk Wesystem. but permission is denied;

The system options are:

The script properties are:

Which of the following will resolve the issue?

Options:

A.

mount -o remount, rw /mnt/disk

B.

chcon-u system_u -t admin_home_/mnt/disk/ myscript.sh

C.

mount -o remount, exec .mnt/disk

D.

setenforce permissive

Buy Now
Questions 53

Which of the following is modified to reconfigure the boot environment?

Options:

A.

grub-mkconfig

B.

grub.cfg

C.

update-grub

D.

grub2-mkconfig

Buy Now
Questions 54

A systems administrator copied the latest archive Of the corporate application, corpapp.tar.gz, to a new server. The backup software lists the following entry in the log file:

Which of the following should the administrator run to verify the archive copied correctly without corruption?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 55

A systems administrator a retting an HTTPO server on a Lnux server and configuring as a proxy server The administrator runs the following commands to venfy that the service is running:

However, the arjminrstraior is getting a 503 error when browsing to portal.company. internal. After reviewing the logs, the following error information is discovered:

Which of the following commands BEST resolves the issue?

Options:

A.

sentforce 0

B.

susearch -m USER_LOGIN -sv no

C.

grep http /var/log/audit/audit,log| audit2why

D.

setsebool -p httpd_can_network_connect 1

Buy Now
Questions 56

A junior systems administrator needs to schedule a backup script named /scripts/backup.sh and make the correct changes to the crontab.

Which of the following crontab entries would run the script every Monday at 2:05 a.m.?

Options:

A.

1 * * 5 2 /scripts/backup.sh

B.

2 5 * * 1 /scripts/backup.sh

C.

5 2 * * 1 /scripts/backup.sh

D.

1 * * 2 5 /scripts/backup.sh

E.

5 2 * * 0 /scripts/backup.sh

Buy Now
Questions 57

A user tries to log in to the Linux console and receives the following message:

Your account has expired; Please contact your system administrator.

Which of the following commands was MOST likely run to create this behavior?

Options:

A.

passwd

B.

usermod

C.

userdel

D.

chage

Buy Now
Questions 58

Some Bash scripts arc being versioned and stored in a Git repository Which of the following commands should the Linux administrator use to exclude tmp Wes from being added to the repository during any code adds and commits?

Options:

A.

export GIT_IGNORE=,tmp

B.

alias git=git commit --ignore=, tmp

C.

echo .gitignore >> * tmp

D.

git config -- blacklist = tmp

Buy Now
Questions 59

A system administrator is troubleshooting a web server that runs in a container. After the log is retained, the container occasionally stops logging to a log file. Fortunately, the vendor provides a custom signal that allows the application to reconnect to the log file. Which of the following would be BEST for the administrator to run the containers?

Options:

A.

Kill –HUP 1

B.

Kill –USR 1

C.

Kill –TEAM 1

D.

Kill –Kill 1

Buy Now
Questions 60

An administrator wants to add a user named comptia to the system administrators group. Which of the following commands will accomplish this task?

Options:

A.

Usermod –sG wheel comptia

B.

Useradd -sG wheel comptia

C.

visudo -sG wheel comptia

D.

sudo -sG wheel comptia

Buy Now
Questions 61

A Linux server hosts Kerberos and LDAP, which of the following is the MOST likely role of this server?

Options:

A.

Certificate authority

B.

Clustering

C.

Database

D.

Authentication

Buy Now
Questions 62

An administrator is provisioning and attaching a secondary disk to a Linux server as a data drive. Which Of the following commands the administrator use to find the UUID Of the disk so the drive can be mounted upon boot?

Options:

A.

blkid

B.

isblk

C.

2label

D.

fstab

Buy Now
Questions 63

A systems administrator is attempting to connect a printer to the network. After installing the printer, the systems admnstrator wants to provide a pnnting interface for network users to detect printers dynamically Which of the following would all…

Options:

A.

HBA

B.

CUPS

C.

USB

D.

LPO

Buy Now
Questions 64

A developer has contacted a systems administrator because an application is not receiving a response from the client. The application must purge the message queue before terminating. Which of the following should the systems administrator perform in order to BEST address the issue?

Options:

A.

Send the SIGHUP signal with the kill command.

B.

Send the signal with the command.

C.

Send the SIGSTOP signal with the kill command.

D.

Send the SIGTERN signal with the kill command.

Buy Now
Questions 65

A security audit concludes that an organization's database servers need to be hardened As a result, an administrator obtans tie fofcjwwng partial Nmap output from a database server.

Which of the following commands should the administrator execute to mitigate security risks?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 66

A security tool relies on a specific version of libssl. Which of the following would an administrator implement to prevent libssM 0 0 from being upgraded?

Options:

A.

apt-mark hold libss11.0.0

B.

yua --excludi libss111.0.0

C.

apt ignore auto libss11.0.0

D.

apt-get exclude libss11.0.0

Buy Now
Questions 67

A Linux administrator execute the following steps in this order:

1. Changes some software code

2. Commits the changes to the Git repository

3. Triggers a job to compile

4. Execute some test scripts

5. Packages the software package

6. Publishes the software packages to a package repository

Which of the following orchestration processes is the administrator using?

Options:

A.

Build automation

B.

Deployment automation

C.

Test automation

D.

Infrastructure automation

Buy Now
Questions 68

A remote server reverts to the incorrect time when it is restarted. Which of the following will save the correct time to the BIOS clock once the time and date have been set on the server?

Options:

A.

btime -- settime

B.

btime -- setdate

C.

hwclock -- systohc

D.

date -- setclock

Buy Now
Questions 69

An administrator is logged on as an unprivileged user and needs to compile and installed an application from source. Which of the following BEST represents how to complete this task?

Options:

A.

cd ; sudo ./configure $$ make $$ make install

B.

cd ; ./configure $$ sudo make $$ make install

C.

cd ; ./configure $$ make $$ make install

D.

cd ; ./configure $$ make $$ make install

Buy Now
Questions 70

An administrator received a request from a security officer to eliminate a blacklisting set called internal-blocked the company is using in the iptables firewall.

Which of the following commands will complete the task?

Options:

A.

ipset swap internal-blocked none

B.

ipset destroy internal-blocked

C.

ipset del internal-blocked

D.

ipset remove internal-blocked

Buy Now
Questions 71

A Linux administrator has configured a local named caching server to reduce the amount of time to resolve common DNS addresses. The server resolves using the external server, however; the administrator wants to avoid this configuration. The administrator verifies the named, conf settings to confirm the following relevant settings:

The administrator then runs dig twice to look up an external address and receives the following relevant output the second time.

Which of the following should the administrator do to correct the configuration?

Options:

A.

Modify /etc/resolve.config and set nameserver to 127.0.0.1

B.

Add 1270.0.1 to the forwards in the named confi file.

C.

Alias the dig commands to use nslookup instead.

D.

Configure the name service in system to be masked

Buy Now
Questions 72

A Linux administrator created a new log file in /var/log/newlog to monitor a newly installed application. The administrator is now configuring parameters of the file so it will be rotated on a weekly basis or when it becomes larger than 1MB in size. In addition, five rotations of the file should exist in the /var/log directory.

Which of the following should be added to the /etc/logrotate.conf file to meet this objective?

Options:

A.

C:\Users\Admin\Desktop\Data\Odt data\Untitled.jpg

B.

C:\Users\Admin\Desktop\Data\Odt data\Untitled.jpg

C.

C:\Users\Admin\Desktop\Data\Odt data\Untitled.jpg

D.

C:\Users\Admin\Desktop\Data\Odt data\Untitled.jpg

Buy Now
Status:
Expired , and Replaced By
Exam Code: XK0-004
Exam Name: CompTIA Linux+ Certification Exam
Last Update: Apr 14, 2023
Questions: 483
$72  $159.99
$54  $119.99
$45  $99.99
buy now XK0-004