Real CompTIA XK0-004 Samples Online
It is more faster and easier to pass the CompTIA XK0-004 exam by using Breathing CompTIA CompTIA Linux+ Certification Exam questuins and answers. Immediate access to the Most recent XK0-004 Exam and find the same core area XK0-004 questions with professionally verified answers, then PASS your exam with a high score now.
Also have XK0-004 free dumps questions for you:
NEW QUESTION 1
A Linux administrator implemented a new HTTP server using the default configuration. None of the users on the network can access the server. If there is no problem on the network or with the users’ workstations, which of the following steps will BEST analyze and resolve the issue?
- A. Run netstat to ensure the port is correctly bound, and configure the firewall to allow access on ports 80 and 443
- B. Run route to ensure the port is correctly bound, and configure the firewall to allow access on ports 80 and 443
- C. Run netcat to ensure the port is correctly bound, and configure a static route to the web to allow access on ports 80 and 443
- D. Run route to ensure the port is correctly bound, and configure SELinux to allow access on ports 80 and 443
Answer: C
NEW QUESTION 2
A Linux systems administrator needs to set permissions on an application with the following parameters: The owner of the application should be able to read, write, and execute the application.
Members of the group should be able to read and execute the application. Everyone else should not have access to the application.
Which of the following commands would BEST accomplish these tasks?
- A. chmod 710 <application name>
- B. chmod 730 <application name>
- C. chmod 750 <application name>
- D. chmod 760 <application name>
Answer: D
NEW QUESTION 3
A Linux system is running normally when the systems administrator receives an alert that one application spawned many processes. The application is consuming a lot of memory, and it will soon cause the machine to become unresponsive. Which of the following commands will stop each application process?
- A. kill ‘pidof application’
- B. killall application
- C. kill -9 ‘ps –aux | grep application’
- D. pkill -9 application
Answer: B
NEW QUESTION 4
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?
- A. The logical volume is not activ
- B. The administrator should make it active with lvchange -ay /dev/ datavg/datalv and then mount it.
- C. The logical volume file system has become corrupte
- D. The administrator should repair it with xfs_repair/dev/datavg/datalv and then mount it.
- E. The logical volume is OK but the /dev special files are missin
- F. The administrator should recreate them by running /dev/MAKEDEV.
- G. The file system is read-onl
- H. The administrator should remount it as read-write with the command mount - o remount.rw /data.
Answer: A
NEW QUESTION 5
Which of the following is modified to reconfigure the boot environment?
- A. grub-mkconfig
- B. grub.cfg
- C. update-grub
- D. grub2-mkconfig
Answer: C
NEW QUESTION 6
Which of the following BEST describes the purpose of the X11 system?
- A. X11 provides graphical display capabilities
- B. X11 provides command line capabilities
- C. X11 provides networking capabilities
- D. X11 provides telephony capabilities.
Answer: A
NEW QUESTION 7
An administrator needs to see the type of CPU that a server is running. Which of the following files contains this information?
- A. /proc/cpuinfo
- B. /etc/devices/info.conf
- C. /dev/proc/cpu
- D. /sys/dev/cpuinfo
Answer: A
NEW QUESTION 8
A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. to which of the following files should the RSA token be added to allow this access?
- A. authorized_keys
- B. ~/.ssh/ssh_config
- C. id_rsa.pub
- D. known_hosts
Answer: C
NEW QUESTION 9
A Linux storage administrator wants to create a logical volume group. Which of the following commands is required to start the process?
- A. pvcreate
- B. vgcreate
- C. lvcreate
- D. mkfs.xfs
Answer: B
NEW QUESTION 10
A systems administrator wants to deploy several applications to the same server quickly. Each application should be abstracted from the host with its own dependencies and libraries and utilize a minimal footprint.
Which of the following would be BEST in this scenario?
- A. Virtual machines
- B. Type 2 hypervisor
- C. Chroot jails
- D. Containers
Answer: D
NEW QUESTION 11
A Linux server has multiple IPs. A Linux administrator needs to verify if the HTTP server port is bound to the correct IP.
Which of the following commands would BEST accomplish this task?
- A. route
- B. host
- C. nslookup
- D. netstat
- E. ip
Answer: D
NEW QUESTION 12
A Linux systems administrator installed a new web server, which failed while attempting to start. The administrator suspects that SELinux is causing an issue and wants to temporarily put the system into permissive mode. Which of the following would allow the administrator to accomplish this?
- A. echo SELINUX=PERMISSIVE >> /etc/sysconfig/selinux
- B. setenforce 0
- C. sestatus 0
- D. chcon httpd_sys_content_t /var/
Answer: B
NEW QUESTION 13
A junior Linux administrator is updating local name resolution to support IPv6. The administrator issues the command cat /etc/hosts and receives the following output: 127.1.1.1 localhost
Which of the following actions should the administrator perform to accomplish this task?
- A. Modify the /etc/hosts file, and add the ipv6 localhost entry to the file.
- B. Modify the /etc/hosts file, and add the ::1 localhost entry to the file.
- C. Modify the /etc/hosts file, and add the ipv4 localhost entry to the file.
- D. Modify the /etc/hosts file, and add the 0.0.0.0 localhost entry to the file.
Answer: D
NEW QUESTION 14
An administrator is analyzing a Linux server which was recently hacked.
Which of the following will the administrator use to find all unsuccessful login attempts?
- A. nsswitch
- B. faillock
- C. pam_tally2
- D. passwd
Answer: C
NEW QUESTION 15
A systems administrator configured a new kernel module, but it stopped working after reboot. Which of the following will allow the systems administrator to check for module problems during server startup?
- A. lsmod
- B. modprobe
- C. modinfo
- D. dmesg
Answer: C
NEW QUESTION 16
Ann, a junior systems administrator, is required to add a line to the /etc/yum.conf file. However, she receives the following error message when she tries to add the line:
Ann performs some diagnostics to attempt to find the root cause:
Which of the following commands should Ann execute to write content to /etc/yum?
- A. chmod 755 /etc/yum.conf
- B. setfacl –m m:rw /etc/yum.conf
- C. chattr –I /etc/yum.conf
- D. setenforce 0
Answer: A
NEW QUESTION 17
......
Thanks for reading the newest XK0-004 exam dumps! We recommend you to try the PREMIUM Certshared XK0-004 dumps in VCE and PDF here: https://www.certshared.com/exam/XK0-004/ (267 Q&As Dumps)