Comptia (XK0-004) Exam Questions And Answers page 35
Which of the following best describes the TOGAF classification in Phase H for a re-architecting change?
A change driven by a requirement to increase investment in order to create new value for exploitation
A change driven by a requirement to reduce costs
A change driven by a requirement to reduce investment
A change driven by a requirement to re-align with the business strategy
System Configuration and Management
Administrative Tasks
What is the purpose of ADM Phase E?
Single Choice
Which one of the following best describes the purpose of ADM Phase E?
To define the initial implementation plans
To define the scope, identifying stakeholders and obtaining approvals
To develop the Technology Architecture
To manage requirements throughout the ADM
To perform architectural oversight for the implementation
Administrative Tasks
Essential System Services
Joe, a user, creates a short shell script, shortscript.sh, and saves it in his home directory with default permissions and paths. He then attempts to run the script by typing ./shortscript.sh, but the command fails to execute.
Which of the following commands would have allowed the script to run?
Which of the following commands would have allowed the script to run?
chmod u+x shortscript.sh
source ./shortscript.sh
chmod 155 ~/shortscript.sh
chgrp shortscript.sh Joe
Shells, Scripting, and Data Management
Administrative Tasks
Ann, a junior systems administrator, is required to add a line to the /etc/yum.conf file. However, she receives the following error message when she tries to add the line:
Ann performs some diagnostics to attempt to find the root cause:
Which of the following commands should Ann execute to write content to /etc/yum?
Ann performs some diagnostics to attempt to find the root cause:
Which of the following commands should Ann execute to write content to /etc/yum?
chmod 755 /etc/yum.conf
setfacl m m:rw /etc/yum.conf
chattr i /etc/yum.conf
setenforce 0
System Configuration and Management
Command Line Interface
A systems administrator manually added a new library to the server. The administrator wants to rebuild the library cache for immediate use.
Which of the following commands should the systems administrator run to achieve this goal?
Which of the following commands should the systems administrator run to achieve this goal?
make install
ldconfig
make
ldd
Scripting and Automation
Essential System Services
Which of the following is the purpose of the vmlinux file on a Linux system?
To prevent a Linux kernel panic
To start a Linux virtual machine
To provide the executable kernel for the system
To enable resource access to the network
Scripting and Automation
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Complete the sentence. Actions arising from the Business Transformation Readiness Assessment technique should be incorporated in the_________________________.
Architecture Roadmap
Architecture Requirements Specification
Communications Plan
Implementation and Migration Plan
Implementation Governance Model
System Configuration and Management
Administrative Tasks
A user wants to use terminal services from a Windows workstation to manage a Linux server. Which of the following should be installed on the Linux server to enable this functionality?
VNC
rdesktop
SPICE
XRDP
Command Line Interface
Networking Fundamentals
A configuration management tool running every minute is enforcing the service HTTPd to be started. To perform maintenance, which of the following series of commands can be used to prevent the service from being started?
systemctl stop httpd && systemctl mask httpd
systemctl disable httpd && systemctl mask httpd
systemctl stop httpd && systemctl hide httpd
systemctl disable httpd && systemctl hide httpd
Command Line Interface
Essential System Services
An administrator needs to create a file named hello in the home directory that contains the following text:
it's me!
Which of the following commands would accomplish this goal?
it's me!
Which of the following commands would accomplish this goal?
mkdir ~/hello
touch ~/"it's me!"
touch ~/"it's me!"
touch ~/hello
echo "it's me!" > ~/hello
echo "it's me!" > ~/hello
mv ~/hello
cp "it's me!" > ~/hello
cp "it's me!" > ~/hello
type ~/hello
print "it's me!"
print "it's me!"
Shells, Scripting, and Data Management
Comments