live chatMcAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Pass4Test 10%OFF Discount Code

CompTIA Linux+ Certification - XK0-004 Exam Questions

QUESTION NO: 1
A technician reviews me following output:

Which of the following commands should the technician execute to ensure the system has the appropriate paging? (Select TWO).
Correct Answer: D,E
QUESTION NO: 2
Users are receiving permission-denied messages when trying to access a spreadsheet file within the company's filesystem. A Linux administrator receives a ticket and begin to investigate the following output:

Which of the following command would produce the presented output?
Correct Answer: C
QUESTION NO: 3
A systems administrator needs to write a script that performs unattended package upgrades. Which of the folowing flags should be used with either yum or apt to meet this goal?
Correct Answer: D
QUESTION NO: 4
A lab virtual image is always named pc21.local and in variety of testing situation. The administrator wants to use the IP address pc21.local in a script but is concerned it may change from day to day, as the image is rebuilt fairly often. Which of the following should the administrator add to a script to ensure the IP address is always accurate?
Correct Answer: D
QUESTION NO: 5
A technician suspects a company's border firewall is down, thus blocking Internet access. The technician executes the following commands:
#ping -c 1 firewall.company.com
64 bytes from firewall.company.com (192.168.1.1): icmp_seq=1 ttl=64 time=0.061ms
#ping -c 16 www.comptia.com
16 packets transmitted, 0 received, 100% packet loss, time 14999ms
Which of the following commands should the technician use to BEST determine the source of this outage?
Correct Answer: B
QUESTION NO: 6
An administrator needs to create a file named hello in the home directory that contains the following text:
it's me!
Which of the following commands would accomplish this goal?
Correct Answer: B
QUESTION NO: 7
An administrator wants to use a Linux server's GUI remotely but is limited by security to using TCP ports 5900-5999. Which Of the following is the BEST choice for installation on the Linux server to enable this functionality?
Correct Answer: C
QUESTION NO: 8
A user is reporting unusual slowness when trying to transfer a large file to an NFS server from a workstation. The administrator runs tracepath and gets the following output:

Which of the following BEST describes the issue and a possible solution?
Correct Answer: D
QUESTION NO: 9
Whenever an administrator merges the feature branch into master, a binary is created and saved in the artifact repository. Which of the following does this desenbe?
Correct Answer: A
QUESTION NO: 10
An organization wants to consolidate its entire user information in centralized storage using an X.500-based protocol. Which of the following protocols should be used for this implementation?
Correct Answer: D
QUESTION NO: 11
A Linux administrator is getting an error message indicating a device does not have any space left on it. However, the administrator runs the following commands and receives the output below:

Which of the following is the MOST likely cause of the issue?
Correct Answer: A
QUESTION NO: 12
A systems administrator is receiving errors while trying to install a popular virtualization software. The software specifications state the processor needs to support virtualization with Intel instructions. Additional requirements state the processor must accelerate encryption/decryption and use hyperthreading. Given the following output about the processor:
fpu ume depse tsu msr pae mce cx8 apic sep mtrr pae mca cmov pat pse36 cflusm mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt aes xsave avx rdrand hypervisor lahf_lm fsgsbase Which of the following is the MOST likely reason for the errors?
Correct Answer: A
QUESTION NO: 13
A junior Linux administrator is installing patches using YUM. The administrator issues the following command:
yum list installed
The output of the command is as follows:

Given this scenario and the output, which of the following should the administrator do to address this issue?
Correct Answer: C
QUESTION NO: 14
A junior systems administrator needs to make a packet capture file that will only capture HTTP protocol data to a file called test.pcap.
Which of the following commands would allow the administrator to accomplish this task?
Correct Answer: C
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 15
A junior systems administrator is creating a cron job. The cron job requirements are as follows:
Run the hello.sh script every hour (24 times in one day).
Run it on Monday only.
Given this scenario, which of the following crontab options should be configured to meet these requirements?
Correct Answer: D