Comptia (XK0-004) Exam Questions And Answers page 14
A systems administrator is editing a service file for the web server. In order to continue testing, all web server processes must be shut down. The administrator accomplishes this with the following commands:
Based on the command output above, which of the following BEST explains how this was accomplished?
Based on the command output above, which of the following BEST explains how this was accomplished?
The -15 signal will allow the kill command to automatically seek out all child processes and kill them as well.
The -15 signal tells the kill command to kill all processes matching the Apache string.
The -15 signal gracefully kills the process and all Its parent and child processes.
Command Line Interface
Essential System Services
An administrator receives a warning about a filesystem filling up, and then identifies a large file located at /tmp/largelogfile. The administrator deletes the file, but no space is recovered on the filesystem.
Which of the following commands would BEST assists the administrator in identifying the problem?
Which of the following commands would BEST assists the administrator in identifying the problem?
lsof | grep largelogfile
pkill /tmp/largelogfile
pgrep largelogfile
ps ef | grep largelogfile
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Essential System Services
What document is sent from the sponsoring organization to the architecture organization to trigger the start of an ADM cycle?
Architecture Contract
Architecture Definition Document
Architecture Vision
Request for Architecture Work
Statement of Architecture Work
System Configuration and Management
Administrative Tasks
What technique does TOGAF recommend for evaluating the status of an organization to undergo change?
Business Transformation Readiness Assessment
Business Value Assessment Technique
Capability-Based Planning
Communications and Stakeholder Management
Gap Analysis
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
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
Which file contains the CPU information on a server?
Single Choice
An administrator needs to see the type of CPU that a server is running. Which of the following files contains this information?
/proc/cpuinfo
/etc/devices/info.conf
/dev/proc/cpu
/sys/dev/cpuinfo
Command Line Interface
Essential System Services
A Linux administrator has downloaded the network-tools-12.1-17.i386.rpm package for installation to a local system. The administrator issues the rpm -ivh nerwork-cools-12.1-17.i386.rpm command to install the package. After attempting to use the newly installed package, the administrator realizes the package for the system s architecture was not installed correctly.
Which of the following commands should the administrator use to remove the package from the system?
Which of the following commands should the administrator use to remove the package from the system?
rpm -e network-tools
rpm -U network-tools-12.1-17.i386.rpm
rpm -ivh network-tools-12.1-17.i686.rpm
rpm -r network-tools
Networking Fundamentals
A systems administrator uses a remote execution engine to iterate through each IP address in a network and run a script on remote hosts. The script captures the remote system's hostname, IP address, OS distribution, and system uptime. The output of the script gets saved to the administrator's local workstation for future processing.
Which of the following is this an example of?
Which of the following is this an example of?
Performance monitoring
Inventory
Agentless
Infrastructure as code
Build automation
Command Line Interface
Networking Fundamentals
What is an objective of the ADM Preliminary Phase?
To create the initial version of the Architecture Roadmap
To develop a vision of the business value to be delivered by the proposed enterprise architecture
To select and implement tools to support the Architecture Capability
To obtain approval for the Statement of Architecture Work
To document the baseline architecture
System Configuration and Management
Administrative Tasks
A new HTTPS web service is being deployed on a server. Which of the following commands should the Linux administrator use to ensure traffic is able to flow through the system firewall to the new service?
iptables I OUTPUT p tcp --sport 443 j ACCEPT
iptables A INPUT p tcp --dport 443 j ACCEPT
iptables I INPUT --dport 443 j ACCEPT
iptables A OUTPUT p tcp --dport 443 j ACCEPT
Networking Fundamentals
Comments