厳密検証されたXK0-005試験問題集と解答で無料提供のXK0-005問題と正解付き
あなたを合格させるXK0-005問題集で無料最新CompTIA練習テスト
質問 # 79
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 -v 4744 --suid dev_team.txt
- B. chmod 4744 dev_team.txt
- C. chmod -c 744 dev_team.txt
- D. chmod 744 --setuid dev_team.txt
正解:B
質問 # 80
A systems administrator is tasked with installing GRUB on the legacy MBR of the SATA hard drive. Which of the following commands will help the administrator accomplish this task?
- A. grub-install /dev/hda
- B. grub-install /dev/sr0
- C. grub-install /dev/hd0,0
- D. grub-install /dev/sda
正解:D
質問 # 81
What is the main objective when using Application Control?
- A. Ensure security and privacy of information.
- B. To filter out specific content.
- C. To see what users are doing.
- D. To assist the firewall blade with handling traffic.
正解:C
質問 # 82
Which of the following data structures is written in JSON?
A)
B)
C)
D)
- A. Option A
- B. Option B
- C. Option D
- D. Option C
正解:C
質問 # 83
A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote. Which of the following commands will achieve the desired effect?
- A. ssh -i /remote:/backup/ /data
- B. cp -r /data /remote/backup/
- C. scp -p /data remote:/backup/data
- D. rsync -a /data remote:/backup/
正解:D
質問 # 84
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 event commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
正解:
解説:
yum install httpd
systemctl --now enable httpd
systemctl status httpd
netstat -tunlp | grep 80
pkill <processname>
systemctl restart httpd
systemctl status httpd
質問 # 85
A Linux administrator is scheduling a system job that runs a script to check available disk space every hour. The Linux administrator does not want users to be able to start the job. Given the following:
The Linux administrator attempts to start the timer service but receives the following error message:
Which of the following is MOST likely the reason the timer will not start?
- A. The checkdiskspace.timer unit should be enabled via systemctl.
- B. The checkdiskspace.timer should be started using the sudo command.
- C. The checkdiskspace.timer should be configured to allow manual starts.
- D. The timers.target should be reloaded to get the new configuration.
正解:C
質問 # 86
An administrator transferred a key for SSH authentication to a home directory on a remote server. The key file was moved to .ssh/authorized_keys location in order to establish SSH connection without a password. However, the SSH command still asked for the password. Given the following output:
Which of the following commands would resolve the issue?
- A. chown root:root .ssh/authorized_keys
- B. chmod 600 .ssh/authorized_keys
- C. ssh_keygen -t rsa -o .ssh/authorized_keys
- D. restorecon .ssh/authorized_keys
正解:D
質問 # 87
Joe, a user, is unable to log in to the Linux system. Given the following output:
Which of the following commands would resolve the issue?
- A. usermod -s /bin/bash joe
- B. pam_tally2 -u joe -r
- C. chage -E 90 joe
- D. passwd -u joe
正解:A
質問 # 88
A cloud engineer needs to block the IP address 192.168.10.50 from accessing a Linux server. Which of the following commands will achieve this goal?
- A. iptables -A INPUT -s 192.168.10.30 -j DROP
- B. iptables -F INPUT -j 192.168.10.50 -m DROP
- C. iptables -j INPUT 192.168.10.50 -p DROP
- D. iptables -i INPUT --ipv4 192.168.10.50 -z DROP
正解:A
質問 # 89
A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository. Which of the following commands should the administrator use for this task?
- A. git reflog
- B. git pull
- C. git push
- D. git status
正解:B
質問 # 90
A Linux administrator needs to obtain a list of all volumes that are part of a volume group. Which of the following commands should the administrator use to accomplish this task?
- A. pvs
- B. vgs
- C. lvs
- D. fdisk -1
正解:C
質問 # 91
Users report that connections to a MariaDB service are being closed unexpectedly. A systems administrator troubleshoots the issue and finds the following message in /var/log/messages:
Which of the following is causing the connection issue?
- A. The process mysqld is using too many semaphores.
- B. Something is starving the server resources.
- C. The amount of RAM allocated to the server is too high.
- D. The server is running out of file descriptors.
正解:C
質問 # 92
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 -> add -> commit -> push
- B. checkout -> push -> add -> pull
- C. pull -> push -> add -> checkout
- D. pull -> add -> push -> commit
正解:A
質問 # 93
A Linux systems administrator receives reports from various users that an application hosted on a server has stopped responding at similar times for several days in a row. The administrator logs in to the system and obtains the following output:
Output 1:
Output 2:
Output 3:
Which of the following should the administrator do to provide the BEST solution for the reported issue?
- A. Configure memory allocation policies during business hours and prevent the Java process from going into a zombie state while the server is idle.
- B. Configure more CPU cores to allow for the server to allocate more processing and prevent the Java process from consuming all of the available resources.
- C. Configure the swap space to allow for spikes in usage during peak hours and prevent the Java process from stopping due to a lack of memory.
- D. Configure a different nice value for the Java process to allow for more users and prevent the Java process from restarting during business hours.
正解:A
質問 # 94
An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should the administrator use to identify the correct
- A. yum -y update; shutdown -r now
- B. cat /etc/centos-release; rpm -Uvh --nodeps
- C. telinit 1; restorecon -Rv /boot
- D. rpm -qa | grep kernel; uname -a
正解:D
質問 # 95
While inspecting a recently compromised Linux system, the administrator identified a number of processes that should not have been running:
Which of the following commands should the administrator use to terminate all of the identified processes?
- A. kill -9 "upload*.sh"
- B. skill -9 "upload*.sh"
- C. killall -9 -upload*.sh"
- D. pkill -9 -f "upload*.sh"
正解:C
質問 # 96
User1 is a member of the accounting group. Members of this group need to be able to execute but not make changes to a script maintained by User2. The script should not be accessible to other users or groups. Which of the following will give proper access to the script?
- A. chown user2:accounting script.sh
chmod 750 script.sh - B. chown accounting:user1 script.sh
chmod 057 script.sh - C. chown user2:accounting script.sh
chmod u+x script.sh - D. chown user1:accounting script.sh
chmod 777 script.sh
正解:B
質問 # 97
A Linux administrator copied a Git repository locally, created a feature branch, and committed some changes to the feature branch. Which of the following Git actions should the Linux administrator use to publish the changes to the main branch of the remote repository?
- A. push
- B. tag
- C. commit
- D. rebase
正解:C
質問 # 98
An administrator deployed a Linux server that is running a web application on port 6379/tcp.
SELinux is in enforcing mode based on organization policies.
The port is open on the firewall.
Users who are trying to connect to a local instance of the web application receive Error 13, Permission denied.
The administrator ran some commands that resulted in the following output:
Which of the following commands should be used to resolve the issue?
- A. semanage port -l -t http_port_tcp 6379
- B. semanage port -a http_port_t -p top 6379
- C. semanage port -a -t http_port_t -p tcp 6379
- D. semanage port -d -t http_port_t -p tcp 6379
正解:C
質問 # 99
A DevOps engineer needs to download a Git repository from https://git.company.com/admin/project.git. Which of the following commands will achieve this goal?
- A. git pull https://git.company.com/admin/project.git
- B. git branch https://git.company.com/admin/project.git
- C. git checkout https://git.company.com/admin/project.git
- D. git clone https://git.company.com/admin/project.git
正解:D
解説:
git clone is the best option if its a new project. git pull would work best if it was an ongoing project that had multiple team members that had pushed their updates to the main repository
質問 # 100
A systems administrator is receiving tickets from users who cannot reach the application app that should be listening on port 9443/tcp on a Linux server.
To troubleshoot the issue, the systems administrator runs netstat and receives the following output:
Based on the information above, which of the following is causing the issue?
- A. The application is listening on the loopback interface.
- B. The application is not running.
- C. The IP address 0.0.0.0 is not valid.
- D. The application is listening on port 1234.
正解:A
質問 # 101
A Linux administrator needs to connect securely to a remote server in order to install application software. Which of the following commands would allow this connection?
- A. sftp rooteiO.0.0.1
- B. ssh -i "ABC-key.pem" [email protected]
- C. telnet 10.0.0.1 80
- D. sftp "ABC-key.pem" [email protected]
- E. scp "ABC-key.pem" [email protected]
正解:B
質問 # 102
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 -15
- B. kill -HUP
- C. kill -3
- D. kill -TERM
- E. kill -1
正解:C
質問 # 103
A systems administrator is investigating why one of the servers has stopped connecting to the internet.
Which of the following is causing the issue?
- A. Wired connection 1 is offline.
- B. The DNS address has been commented out in the configuration file.
- C. No default route is defined.
- D. The search entry in the /etc/resolv.conf file is incorrect.
正解:B
質問 # 104
......
CompTIA XK0-005:CompTIA Linux+認定は、Linux管理者になりたいと考えている個人のスキルと知識を認定する、世界的に認知された認定プログラムです。この認定は、候補者がLinuxシステムをインストール、設定、管理、トラブルシューティングできる能力を検証するように設計されています。認定試験はベンダーニュートラルであり、特定のLinuxディストリビューションに結び付けられていないことを意味します。
CompTIA XK0-005、またはCompTIA Linux+認定試験は、Linuxオペレーティングシステムで作業したいと考える候補者のスキルや知識を検証するために設計されたベンダー中立の認定試験です。この試験は、Linuxでの経験があり、IT分野でキャリアを発展させたい人を対象にしています。この認定は、候補者がLinuxシステム管理について強い理解を持ち、プロの環境でLinuxシステムを管理およびトラブルシューティングできることを証明します。
無料でゲット!高評価CompTIA XK0-005試験問題集今すぐダウンロード!:https://jp.fast2test.com/XK0-005-premium-file.html
XK0-005試験問題集合格には最新なテスト問題集:https://drive.google.com/open?id=1CJFhw9eFno5knE-pVSRBlbd4qQj1afhS