Comptia (XK0-004) Exam Questions And Answers page 30
A Linux administrator must identify a user with high disk usage. The administrator runs the # du s /home/* command and gets the following output:
Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space.
Which of the following commands will accomplish this task?
Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space.
Which of the following commands will accomplish this task?
du a /home/User3/*
du sh /home/User/
find . name /home/User3 -print
Scripting and Automation
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Which one of the following statements about the structure of the TOGAF 9 document is true?
Part I, the Enterprise Continuum, describes a model for structuring a virtual repository
Part II, the Architecture Development Method, describes the definitions of terms used in TOGAF, and the changes between versions of TOGAF
Part III, Tools and Support, describes a collection of guidelines and techniques used in the other parts of TOGAF
Part VI, TOGAF Reference Models, includes a model for release management of the TOGAF specification
Part VII, the Architecture Capability Framework, describes processes and skills to establish an enterprise function
Administrative Tasks
Essential System Services
Which of the following is used in unattended server installation via PXE?
Kickstart
YAML
Cloud-init
Container image
Networking Fundamentals
Using which of the following control mode commands is the correct way to substitute all occurrences of /dev/sdc with /dev/sdd while editing a file in vi?
:s//dev/sdc//dev/sdd
:s/\/dev\/sdc/\/dev\/sdd/g
:s/\/dev\/sdc/\/dev\/sdd
:%s/\/dev\/sdc/\/dev\/sdd
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Shells, Scripting, and Data Management
A Linux server has multiple IPs. A Linux administrator needs to verify if the HTTP server port is bound to the correct IP.
Which of the following commands would BEST accomplish this task?
Which of the following commands would BEST accomplish this task?
route
host
nslookup
netstat
ip
Networking Fundamentals
Security
Complete the sentence. The TOGAF Technical Reference Model _____
is an example and should be tailored to the needs of an organization
must be used "as is" for developing comprehensive architecture models
contains several industry specific frameworks
is intended to contain the Enterprise Continuum
contains only solution building blocks
Networking Fundamentals
A Linux storage administrator wants to create a logical volume group. Which of the following commands is required to start the process?
pvcreate
vgcreate
lvcreate
mkfs.xfs
Scripting and Automation
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Which one of the following describes a purpose of an Architecture Compliance review?
To define the capabilities of the organization
To communicate the technical readiness of the project
To evaluate the readiness of the organization to undergo change
To produce a new Request for Architecture Work
Essential System Services
According to TOGAF, Which of the following best describes the purpose of an Architecture Definition Document?
To act as a deliverable container for artifacts created during a project
To ensure that architecture information is communicated to the right stakeholders at the right time
To govern the architecture throughout its implementation process
To provide a high-level view of the end architecture product
To show progression of change from the Baseline Architecture to the Target Architecture
System Configuration and Management
Administrative Tasks
A Linux administrator is using a public cloud provider to host servers for a company s website. Using the provider s tools, the administrator wrote a JSON file to define how to deploy the servers. Which of the following techniques did the administrator use?
Infrastructure as code
Build automation
Platform as a service
Automated configuration
System Configuration and Management
Networking Fundamentals
Comments