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?
Which of the following commands should the administrator run?
cat /proc/cpuinfo
dmidecode
modinfo
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?
• 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?
0 *** 1 hello.sh
0 24 ** Monday hello.sh
24 *** Monday hello.sh
1 *** 0 hello.sh
Scripting and Automation
Administrative Tasks
Which one of the following best describes the implications of TOGAF being a generic framework?
The organization must utilize an architecture tool in order to tailor the templates for use
It must be adapted to satisfy organization specific requirements
It can be utilized by most enterprises without further customization
It can only be used for enterprise level architecture projects
It should only be employed under the supervision of highly trained consultants
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_________.
Architecture Landscape
Architecture Repository
Architecture Roadmap
Architecture Capability Framework
Architecture Content Framework
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?
Common Systems Architecture
Foundation Architecture
Industry Architecture
Organization-Specific Architecture
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?
ssh X server.company.com
xrdp h server.company.com
xvnc server.company.com
rdesktop server.company.com
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?
journalctl | grep sealert
sealert a /var/log/audit/audit.log
aureport | grep AVC
cat /var/log/messages | grep selinux
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Security
Which of the following describes how the Enterprise Continuum is used when developing an enterprise architecture?
To coordinate with the other management frameworks in use
To describe how an architecture addresses stakeholder concerns
To identify and understand business requirements
To provide a system for continuous monitoring
To structure re-usable architecture and solution assets
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?
git init server.property
git merge server.property
git add server.property
git push server.property
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?
branch
fetch
log
pull
System Configuration and Management
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Comments