Exam Logo

Comptia (XK0-004) Exam Questions And Answers page 45

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?
Command Line Interface Shells, Scripting, and Data Management
Which of the following best describes the purpose of the Gap Analysis technique?
System Configuration and Management Scripting and Automation
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?
Command Line Interface Shells, Scripting, and Data Management
Which phase of the TOGAF ADM is the first phase directly concerned with the planning for the implementation of the target architecture(s)?
Essential System Services Networking Fundamentals
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?
Command Line Interface Essential System Services
A systems administrator receives a report that the web server is not running after a planned system reboot. After starting the web server manually, which of the following commands should the administrator issue to ensure the web server starts at boot time?
Command Line Interface Essential System Services
A systems administrator installed Git on a new workstation and wants to ensure all Git projects on this machine are initialized with the same username and email address.

Which of the following should the administrator use to meet this goal? (Choose two.)
Shells, Scripting, and Data Management Administrative Tasks
A user requested a USB serial device to be added to a desktop computer. The device has built-in kernel driver support. The administrator tested the device installation and access, but the user cannot access the serial port. Each time the user attempts to access the device, an error log is created that shows the user does not have permission to use the serial port. Which of the following will add a user to the group that has serial port capabilities?
Command Line Interface Devices, Linux Filesystems, and Filesystem Hierarchy Standard
A new IO card has been added to the security server to log the opening and closing of the main entrance. A switch is attached, so the interface card returns a 1 when the door is opened and a 0 when the door is closed.

Which of the following describes the Linux device to which this switch is attached?
Devices, Linux Filesystems, and Filesystem Hierarchy Standard Networking Fundamentals
A four-drive Linux NAS has been improperly configured. Each drive has a capacity of 6TB, for a total storage capacity of 24TB. To reconfigure this unit to be not pluggable for drive replacement and provide total storage of 11TB to 12TB, which of the following would be the correct RAID configuration?
Devices, Linux Filesystems, and Filesystem Hierarchy Standard Networking Fundamentals