最新のXK0-005学習ガイド2023年最新の- 提供するのはテストエンジンとPDF
最新版を今すぐ試そうXK0-005練習テスト問題解答が待ってます
質問 # 46
An administrator recently updated the BIND software package and would like to review the default configuration that shipped with this version. Which of the following files should the administrator review?
- A. /etc/named.conf
- B. /etc/named.conf.rpmsave
- C. /etc/named.conf.rpmnew
- D. /etc/bind/bind.conf
正解:A
質問 # 47
A cloud engineer needs to remove all dangling images and delete all the images that do not have an associated container. Which of the following commands will help to accomplish this task?
- A. docker rmi -a images
- B. docker images rmi --all
- C. docker images prune -a
- D. docker push images -a
正解:C
質問 # 48
A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands:
Which of the following commands would address the issue?
- A. top -p 8321
- B. kill -9 8321
- C. free 8321
- D. renice -10 8321
正解:D
質問 # 49
A systems administrator is tasked with mounting a USB drive on a system. The USB drive has a single partition, and it has been mapped by the system to the device /dev/sdb. Which of the following commands will mount the USB to /media/usb?
- A. mount /dev/sdb /media/usb
- B. mount /dev/sdb1 /media/usb
- C. mount -t usb /dev/sdb1 /media/usb
- D. mount /dev/sdb0 /media/usb
正解:B
質問 # 50
A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?
- A. netstat
- B. rsync
- C. nslookup
- D. host
正解:C
質問 # 51
A Linux administrator is troubleshooting SSH connection issues from one of the workstations.
When users attempt to log in from the workstation to a server with the IP address 104.21.75.76, they receive the following message:
The administrator reviews the information below:

Which of the following is causing the connectivity issue?
- A. The workstation has the wrong IP settings.
- B. The server has an incorrect default gateway configuration.
- C. The sshd service is disabled.
- D. The server's firewall is preventing connections from being made.
正解:C
質問 # 52
A Linux systems administrator is configuring a new filesystem that needs the capability to be mounted persistently across reboots. Which of the following commands will accomplish this task? (Choose two.)
- A. fdisk -l /dev/sdc1
- B. echo "/dev/sdc1 /data ext4 defaults 0 0" >> /etc/fstab
- C. mkfs.ext4 /dev/sdc1
- D. df -h /data
- E. echo "/data /dev/sdc1 ext4 defaults 0 0" >> /etc/fstab
- F. fsck /dev/sdc1
正解:B、C
解説:
"modify the /etc/fstab text file to automatically mount the new partition by opening it in an editor and adding the following line:
/dev/ xxx 1 /data ext4 defaults 1 2
where xxx is the device name of the storage device"
https://learning.oreilly.com/library/view/mastering-linux-system/9781119794455/b01.xhtml
質問 # 53
A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running daily. Which of the following is MOST likely causing the issue?
- A. The system-daemon services need to be reloaded.
- B. The OnCalendar schedule is incorrect in the timer definition.
- C. The checkdiskspace.service needs to be enabled.
- D. The checkdiskspace.service is not running.
正解:A
質問 # 54
An administrator installed an application from source into /opt/operations1/ and has received numerous reports that users are not able to access the application without having to use the full path /opt/operations1/bin/*. Which of the following commands should be used to resolve this issue?
- A. echo 'export $PATH:/opt/operations1/bin' >> /etc/profile
- B. echo 'export PATH=/opt/operations1/bin' >> /etc/profile
- C. echo 'export PATH=$PATH:/opt/operations1/bin' >> /etc/profile
- D. echo 'export PATH=$PATH/opt/operations1/bin' >> /etc/profile
正解:C
解説:
It would be better to put the directory before $PATH, so that way the directory is searched before the rest of the pathing options in $PATH.
質問 # 55
A Linux administrator is adding a new configuration file to a Git repository. Which of the following describes the correct order of Git commands to accomplish the task successfully?
- A. pull -> push -> add -> checkout
- B. pull -> add -> push -> commit
- C. pull -> add -> commit -> push
- D. checkout -> push -> add -> pull
正解:C
質問 # 56
A systems administrator configured firewall rules using firewalld. However, after the system is rebooted, the firewall rules are not present:
The systems administrator makes additional checks:
Which of the following is the reason the firewall rules are not active?
- A. FIREWALL_ARGS has no value assigned.
- B. The wrong system target is activated.
- C. The firewalld service is not enabled.
- D. iptables is conflicting with firewalld.
正解:C
質問 # 57
An administrator installed an application from source into /opt/operations1/ and has received numerous reports that users are not able to access the application without having to use the full path /opt/operations1/bin/*. Which of the following commands should be used to resolve this issue?
- A. echo 'export $PATH:/opt/operations1/bin' >> /etc/profile
- B. echo 'export PATH=/opt/operations1/bin' >> /etc/profile
- C. echo 'export PATH=$PATH:/opt/operations1/bin' >> /etc/profile
- D. echo 'export PATH=$PATH/opt/operations1/bin' >> /etc/profile
正解:C
質問 # 58
A Linux administrator needs to create an image named sda.img from the sda disk and store it in the /tmp directory. Which of the following commands should be used to accomplish this task?
- A. dd --if=/dev/sda --of=/tmp/sda.img
- B. dd --of=/dev/sda --if=/tmp/sda.img
- C. dd of=/dev/sda if=/tmp/sda.img
- D. dd if=/dev/sda of=/tmp/sda.img
正解:D
質問 # 59
A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted under /ops/app. Which of the following is the correct list of commands to achieve this goal?
- A.

- B.

- C.

- D.

正解:B
質問 # 60
A systems administrator is tasked with creating an Ansible playbook to automate the installation of patches on several Linux systems. In which of the following languages should the playbook be written?
- A. HTML
- B. JSON
- C. SQL
- D. YAML
正解:D
質問 # 61
A Linux engineer needs to download a ZIP file and wants to set the nice of value to -10 for this new process. Which of the following commands will help to accomplish the task?
- A. $ nice -v -10 wget https://foo.com/installation.zip
- B. $ nice -10 wget https://foo.com/installation.zip
- C. $ renice -v -10 wget https://foo.com/installation.2ip
- D. $ renice -10 wget https://foo.com/installation.zip
正解:B
質問 # 62
The security team has identified a web service that is running with elevated privileges A Linux administrator is working to change the systemd service file to meet security compliance standards. Given the following output:
Which of the following remediation steps will prevent the web service from running as a privileged user?
- A. Removing the ExecStarWusr/sbin/webserver -D SOPTIONS from the service file
- B. Adding the User-webservice to the [Service] section of the service file
- C. Changing the:nulti-user.target in the [Install] section to basic.target
- D. Updating the Environment File line in the [Service] section to/home/webservice/config
正解:A
質問 # 63
A systems administrator made some unapproved changes prior to leaving the company. The newly hired administrator has been tasked with revealing the system to a compliant state. Which of the following commands will list and remove the correspondent packages?
- A. dnf remove and dnf check
- B. dnf info and dnf upgrade
- C. dnf list and dnf remove last
- D. dnf history and dnf history undo last
正解:D
質問 # 64
A Linux administrator wants to set the SUID of a file named dev_team.text with 744 access rights. Which of the following commands will achieve this goal?
- A. chmod 4744 dev_team.txt
- B. chmod -c 744 dev_team.txt
- C. chmod -v 4744 --suid dev_team.txt
- D. chmod 744 --setuid dev_team.txt
正解:A
質問 # 65
A systems administrator has been unable to terminate a process. Which of the following should the administrator use to forcibly stop the process?
- A. kill -HUP
- B. kill -15
- C. kill -1
- D. kill -TERM
- E. kill -3
正解:E
質問 # 66
A Linux administrator rebooted a server. Users then reported some of their files were missing. After doing some troubleshooting, the administrator found one of the filesystems was missing. The filesystem was not listed in /etc/f stab and might have been mounted manually by someone prior to reboot. Which of the following would prevent this issue from reoccurring in the future?
- A. Mount the filesystem manually.
- B. Remount all the missing filesystems
- C. Create a mount unit and enable it to be started at boot.
- D. Sync the mount units.
正解:C
質問 # 67
A developer is trying to install an application remotely that requires a graphical interface for installation. The developer requested assistance to set up the necessary environment variables along with X11 forwarding in SSH. Which of the following environment variables must be set in remote shell in order to launch the graphical interface?
- A. SETENV
- B. $RHOST
- C. $SHELL
- D. $DISPLAY
正解:D
質問 # 68
......
XK0-005問題集と試験テストエンジン:https://jp.fast2test.com/XK0-005-premium-file.html
CompTIA XK0-005問題集にはリアル試験問題解答:https://drive.google.com/open?id=1CJFhw9eFno5knE-pVSRBlbd4qQj1afhS