Exam Logo

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

A systems administrator logs into a Linux server and must identify whether the server is a physical or virtual machine.

Which of the following commands should the administrator run?
Networking Fundamentals
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?
Scripting and Automation Administrative Tasks
Which one of the following best describes the implications of TOGAF being a generic framework?
System Configuration and Management Administrative Tasks
Complete the sentence: TOGAF provides a set of reference materials for establishing an architecture function within an organization known as the_________.
Command Line Interface User Interfaces and Desktops
According to TOGAF, Which of the following types of architecture has major characteristics that include open system standards and general building blocks?
Networking Fundamentals
An administrator receives the following message on a remote server: Cannot open display. Which of the following should the administrator have used to log in to the server?
User Interfaces and Desktops
A Linux administrator is helping the security team troubleshoot an SELinux policy violation incident. Which of the following would be the BEST utility command to display SELinux violation and AVC denial messages?
Devices, Linux Filesystems, and Filesystem Hierarchy Standard Security
Which of the following describes how the Enterprise Continuum is used when developing an enterprise architecture?
User Interfaces and Desktops Administrative Tasks
An engineer is working on a production application deployment that requires changing a web application property file called server.property that is managed by the Git version control system. A cloned copy of the remote repository in which the server.property file exists is on the local desktop computer. The engineer makes appropriate changes to the files, saves it as server.property, and executes git commit m changed the property file server.property. Which of the following commands did the engineer fail to perform?
Command Line Interface
A site reliability engineer updated the latest configuration management scripts and committed them to a workstream called either test or patch. A Linux administrator wants to ensure these latest workstreams are able to be retrieved to the server. Which of the following is the BEST Git attribute to use?
System Configuration and Management Devices, Linux Filesystems, and Filesystem Hierarchy Standard