Comptia (XK0-004) Exam Questions And Answers page 6
Which servers are classified as Linux GUI servers? (Choose two.)
Multiple Choice
Which of the following are classified as Linux GUI servers? (Choose two.)
KDE
Gnome
Wayland
MATE
X11
User Interfaces and Desktops
Administrative Tasks
A Linux administrator has downloaded and installed the httpd package.
Which of the following commands will start the service immediately and allow the service to start on system boot?
Which of the following commands will start the service immediately and allow the service to start on system boot?
systemctl start httpd;chkconfig httpd on
systemctl status httpd;chkconfig httpd on
systemctl.start httpd;chkconfig httpd on
systemctl start httpd;chkconfig httpd on 6
Command Line Interface
Essential System Services
A junior Linux administrator is installing a new application with CPU architecture requirements that have the following specifications:
• x64 bit
• 3.0GHz speed
• Minimum quad core
The administrator wants to leverage existing equipment but is unsure whether the requirements of these systems are adequate. The administrator issues the following command cat /proc/cpuinfo. The output of the command is as follows:
Which of the following is the recommended course of action the administrator should take based on this output?
• x64 bit
• 3.0GHz speed
• Minimum quad core
The administrator wants to leverage existing equipment but is unsure whether the requirements of these systems are adequate. The administrator issues the following command cat /proc/cpuinfo. The output of the command is as follows:
Which of the following is the recommended course of action the administrator should take based on this output?
Install the application, as the system meets the application requirements
Procure new equipment that matches the recommended specifications
Recompile the Linux kernel to support the installation.
Reconfigure lib modules to support the new application.
Scripting and Automation
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
A junior systems administrator created a new filesystem /dev/sda1 with mountpoint /data and added it to the /etc/fstab for auto-mounting.
When the systems administrator tries to mount the file system, the system refuses. Given the output below:
Which of the following steps is necessary?
When the systems administrator tries to mount the file system, the system refuses. Given the output below:
Which of the following steps is necessary?
Change the filesystem from /dev/sda1 to /dev/sda2 and reboot.
Change the options to auto,dev,sync,rw,nosuid and run the mount -a command.
Change the mount point to data and reboot.
Change the dump column to 1 and run the mount -a command.
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Shells, Scripting, and Data Management
A systems administrator needs to install software packages on a server from an Internet-based repository. The server does not have Internet connectivity.
Which of the following can be used to allow the server to connect to the Internet through the systems administrator s desktop?
Which of the following can be used to allow the server to connect to the Internet through the systems administrator s desktop?
Local package repository
UUCP
Remote SSH port forwarding
X11 forwarding
Command Line Interface
Networking Fundamentals
A Linux systems administrator needs to provision multiple web servers into separate regional datacenters. The systems architect has instructed the administrator to define the server infrastructure using a specific tool that consumes a text-based file.
Which of the following is the BEST reason to do this?
Which of the following is the BEST reason to do this?
To document the infrastructure so it can be included in the system security plan
To ensure the administrator follows the planning phase of the systems development life cycle
To define the infrastructure so it can be provisioned consistently with minimal manual tasks
To validate user requirements have been met within each regional datacenter for compliance
Command Line Interface
Networking Fundamentals
A junior administrator of a physical server receives log messages indicating the out-of-memory killer has been active. All memory slots are in use on the motherboard, but additional disk space is available. Space has been allocated for a swap file.
Which of the following should the administrator use to reduce the output of memory messages?
Which of the following should the administrator use to reduce the output of memory messages?
free : swapoff / swapfile ; swapon -a
mkswap /swapfile; swapon a
fallocate l 2G /swapfile && swapon a
echo 1 > /proc/meninfo ; swapon / swapfile
Command Line Interface
Shells, Scripting, and Data Management
Which of the following is a re-usable artifact that is used to create architecture models addressing stakeholder concerns?
Catalog
Matrix
Diagram
View
Viewpoint
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Administrative Tasks
A company wants to provide internal identity verification services for networked devices. Which of the following servers should be installed?
SSH
VPN
CA
DHCP
DNS
Networking Fundamentals
Security
What is the best description of build automation?
Single Choice
Which of the following BEST describes build automation?
Automating the creation of software and related processes
Automatically categorizing servers in the infrastructure
Managing and provisioning servers via automatic templates
Bringing systems in line with the desired automated configuration
Scripting and Automation
Comments