Comptia (XK0-004) Exam Questions And Answers page 11
A user creates and installs a Linux VM on a local workstation. The VM can only connect to the local workstation.
Which of the following BEST represents the default virtual network configuration in this instance?
Which of the following BEST represents the default virtual network configuration in this instance?
Bridged
NAT
Dual-homed
Networking Fundamentals
How can I remove MyPhoto.jpg from the current directory?
Single Choice
Given the output below:
Which of the following commands can be used to remove MyPhoto.jpg from the current directory?
Which of the following commands can be used to remove MyPhoto.jpg from the current directory?
unlink ./MyPhoto.jpg
del Pictures/photo.jpg
rm rf ./Pictures
rm f MyPhoto.jpg
ln rm ./Pictures/photo.jpg
Command Line Interface
Shells, Scripting, and Data Management
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named freespace . Which of the following would meet this requirement?
13 15 * * 5 df > /freespace
15 13 * * 5 df > /freespace
15 1 * * 6 df > /freespace
15 13 6 * * df > /freespace
Scripting and Automation
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Which of the following is a true statement about the TOGAF Technical Reference Model?
The TOGAF Architecture Development Method mandates the use of the Technical Reference Model for large complex architecture projects
The Technical Reference Model is an integral part of the TOGAF Architecture Development Method
The Technical Reference Model should not be modified
The Technical Reference Model includes a set of graphical models and a corresponding taxonomy
The Technical Reference Model provides a direct mapping to the Zachman Framework
Essential System Services
Networking Fundamentals
Which configuration management tool is agentless?
Single Choice
Which of the following configuration management tools is considered agentless?
Puppet
Salt
Ansible
Chef
System Configuration and Management
Essential System Services
A junior Linux administrator needs to create 16 empty files quickly that will contain sales information for each quarter for the past four years. Which of the following commands will meet this requirement?
touch {2015,2016,2017,2018}.{q1,q2,q3,q4}
touch [2015,2016,2017,2018].[q1,q2,q3,q4]
touch 2015,2016,2017,2018 . q1,q2,q3,q4
touch {2015.2016.2017.2018}.{q1.q2.q3.q4}
Scripting and Automation
Shells, Scripting, and Data Management
A systems administrator is troubleshooting an intermittent network connection at the IP address 192.168.1.23. The administrator wishes to monitor the connection at five-minute intervals for one hour. Which of the following commands will accomplish this task?
ping -i 5 192.168.1.23
ping -c 12 192.168.1.23
ping -c 12 -i 300 192.168.1.23
ping -c 60 -i 100 192.168.1.23
Networking Fundamentals
A systems administrator clones copies of a Linux VM every time a new Linux server is needed. The administrator notices the command prompt always states localhost.localdomain.
Which of the following should the administrator run to have the command prompt consistently labeled as Server1 rather than localhost.localdomain?
Which of the following should the administrator run to have the command prompt consistently labeled as Server1 rather than localhost.localdomain?
host Server1
echo "127.0.0.1 Server1 Server1.localdomain" >> /etc/hosts
hostnamectl set-hostname "Server1" --pretty
hostnamectl set-hostname Server1 --transient
hostnamectl set-hostname Server1.localdomain --static
User Interfaces and Desktops
Which of the following is used on the client to boot a Linux system from a TFTP server?
HTTP
GRUB
EFI
PXE
Networking Fundamentals
Complete the sentence. The Requirements Management process is used to______.
develop requirements for Transition Architectures that deliver business value
dispose of, address and prioritize architecture requirements
organize architecture requirements throughout the ADM cycle
review business requirements
validate requirements between ADM phases
System Configuration and Management
Administrative Tasks
Comments