Comptia (XK0-004) Exam Questions And Answers page 42
A Linux administrator wants to fetch a Git repository from a remote Git server.
Which of the following is the BEST command to perform this task?
Which of the following is the BEST command to perform this task?
git clone
git merge
git config
Command Line Interface
Scripting and Automation
Which of the following does the TOGAF standard classify as catalogs, matrices and diagrams?
Building Blocks
Application Platform Interfaces
Deliverables
Frameworks
Artifacts
Essential System Services
Security
Which of the following commands would show the default printer on a Linux system?
lpr
lpq
lpstat
lspci
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Essential System Services
Complete the sentence. A server consolidation project that does not change the operating characteristics of the applications would require _____.
a complete ADM cycle
a complete re-architecting change
a full revision of the enterprise architecture
an incremental change
a simplification change
System Configuration and Management
Administrative Tasks
Which of the following best describes the TOGAF Architecture Development Method?
A process for managing architecture requirements
A classification mechanism for architectures and solutions
A process for managing and controlling change at an enterprise-wide level
A view of the Architecture Repository
A process for developing an organization-specific enterprise architecture
Administrative Tasks
Essential System Services
A user wants to configure the application myapp to start on runlevels 2, 3, 4, and 5 every time the system starts.
Which of the following commands will accomplish this task?
Which of the following commands will accomplish this task?
chkconfig --level 2345 myapp on
systemctl myapp on 2345
chkcinfig myapp --levels 2-5
systemctl --levels 2345 on
System Configuration and Management
Essential System Services
An administrator is logged into a server remotely and wants to determine if the system is a VM. Which of the following commands would assist with this?
dmesg
ps
top
vmstat
Command Line Interface
Essential System Services
What is the template for the grub.cfg file?
Single Choice
Which of the following is the template for the grub.cfg file?
/etc/default/grub
/etc/grub2.cfg
/etc/sysct1.conf
/boot/efi
Command Line Interface
Essential System Services
What is the best description of TOGAF?
Single Choice
Which of the following best describes TOGAF?
An abstract framework for the development of standards and processes for a business architecture
A collection of components organized to accomplish a specific set of functions
A process model, best practices and assets to aid production, use and maintenance of enterprise architectures
A reference model containing taxonomy defining terminology for an enterprise architecture, together with an associated graphic
A system development lifecycle method for software engineering
Essential System Services
Networking Fundamentals
A Linux administrator wants to obtain a list of files and subdirectories in the /etc directory that contain the word services . Once the files and subdirectories are discovered, they should be listed alphabetically in the /var/tmp/foundservices file. Which of the following shell scripts will accomplish this task?
#/bin/bash
find /etc name services | sort > /var/tmp/foundservices
find /etc name services | sort > /var/tmp/foundservices
#/bin/bash
locate /etc sort name services > /var/tmp/foundservices
locate /etc sort name services > /var/tmp/foundservices
#/bin/bash
find name services sort
find name services sort
#/bin/bash
find /etc name services sort > /var/tmp/foundservices
find /etc name services sort > /var/tmp/foundservices
Command Line Interface
Shells, Scripting, and Data Management
Comments