XK0-005 Exam Questions
961 real XK0-005 exam questions with expert-verified answers and explanations. Page 9 of 20.
- Question #486System Management
A cloud engineer needs to check the link status of a network interface named eth1 in a Linux server. Which of the following commands can help to achieve the goal?
Linux networkingnetwork interfacesip commandlink status - Question #487Security
A systems administrator is tasked with setting up key-based SSH authentication. In which of the following locations should the administrator place the public keys for the server?
SSHKey-based AuthenticationPublic KeysFile Paths - Question #488Troubleshooting
An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should the administrator use...
Linux kernelRPM package managerSystem troubleshootingCommand-line utilities - Question #489Security
A cloud engineer needs to change the secure remote login port from 22 to 49000. Which of the following files should the engineer modify to change the port number to the desired val...
SSH configurationLinux administrationNetwork securityRemote access - Question #491Security
A Linux administrator needs to redirect all HTTP traffic temporarily to the new proxy server 192.0.2.25 on port 3128. Which of the following commands will accomplish this task?
iptablesNetwork Address Translation (NAT)FirewallTraffic redirection - Question #492System Management
Developers have requested implementation of a persistent, static route on the application server. Packets sent over the interface eth0 to 10.0.213.5/32 should be routed via 10.0.5....
Linux NetworkingStatic Routingip commandNetwork Configuration - Question #493Scripting, Containers, and Automation
A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following: Which of the following commands should replace...
Bash scriptingConditional statementsFile system checksScripting syntax - Question #494Scripting, Containers, and Automation
A systems administrator is deploying three identical, cloud-based servers. The administrator is using the following code to complete the task: Which of the following technologies i...
TerraformInfrastructure as CodeCloud DeploymentAutomation - Question #495System Management
Which of the following technologies can be used as a central repository of Linux users and groups?
LDAPUser ManagementGroup ManagementDirectory Services - Question #496Troubleshooting
A systems administrator is troubleshooting connectivity issues and trying to find out why a Linux server is not able to reach other servers on the same subnet it is connected to. W...
Network TroubleshootingLinux NetworkingPhysical Layerip link - Question #497Scripting, Containers, and Automation
A Linux administrator was asked to run a container with the httpd server inside. This container should be exposed at port 443 of a Linux host machine while it internally listens on...
PodmanContainer NetworkingPort MappingContainer Management - Question #498Scripting, Containers, and Automation
A Linux administrator needs to analyze a failing application that is running inside a container. Which of the following commands allows the Linux administrator to enter the running...
Container ManagementPodmanCLI CommandsTroubleshooting Tools - Question #499System Management
A systems administrator needs to clone the partition /dev/sdc1 to /dev/sdd1. Which of the following commands will accomplish this task?
dd commandPartition cloningDisk managementLinux commands - Question #500Troubleshooting
When trying to log in remotely to a server, a user receives the following message: The server administrator is investigating the issue on the server and receives the following outp...
User account managementShell configurationRemote loginTroubleshooting - Question #502System Management
A systems administrator needs to reconfigure a Linux server to allow persistent IPv4 packet forwarding. Which of the following commands is the correct way to accomplish this task?
Linux NetworkingKernel ParametersSystem Configurationsysctl - Question #503Troubleshooting
A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load th...
systemd timersjob schedulingOnCalendartroubleshooting - Question #504Troubleshooting
An administrator deployed a Linux server that is running a web application on port 6379/tcp. - SELinux is in enforcing mode based on organization policies. - The port is open on th...
SELinuxPort SecurityLinux TroubleshootingSystem Configuration - Question #505System Management
A systems administrator created a web server for the company and is required to add a tag for the API so end users can connect. Which of the following would the administrator do to...
hostnamectlsystem identificationremote administrationserver configuration - Question #506System Management
A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote. Which of the following commands will achieve the...
rsyncremote backupfile transferdirectory synchronization - Question #507Scripting, Containers, and Automation
An administrator needs to make some changes in the IaC declaration templates. Which of the following commands would maintain version control?
GitVersion ControlIaCAutomation - Question #508System Management
An administrator attempts to rename a file on a server but receives the following error. The administrator then runs a few commands and obtains the following output: Which of the f...
Linux PermissionsSticky Bitchmod commandDirectory Management - Question #509System Management
Which of the following commands will display the operating system?
Linux commandsuname commandsystem information - Question #511System Management
A Linux administrator recently downloaded a software package that is currently in a compressed file. Which of the following commands will extract the files?
Linux commandsFile compressiongzipDecompression - Question #512Troubleshooting
A Linux administrator is troubleshooting SSH connection issues from one of the workstations. When users attempt to log in from the workstation to a server with the IP address 104.2...
SSHFirewallNetwork TroubleshootingConnectivity - Question #513System Management
Which of the following files holds the system configuration for journal when running systemd?
systemdjournaldloggingconfiguration files - Question #514Scripting, Containers, and Automation
A Linux administrator is tasked with creating resources using containerization. When deciding how to create this type of deployment, the administrator identifies some key features,...
ContainerizationKubernetesContainer OrchestrationScalability & High Availability - Question #515Scripting, Containers, and Automation
Which of the following tools is commonly used for creating CI/CD pipelines?
CI/CDAutomationJenkinsDevOps Tools - Question #517System Management
A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/nologin exists. Which of the following PAM modules will accomplish this...
PAMUser ManagementLogin Restrictions/etc/nologin - Question #519Troubleshooting
A Linux administrator is troubleshooting an issue in which an application service failed to start on a Linux server. The administrator runs a few commands and gets the following ou...
systemdService ManagementTroubleshootingUnit Files - Question #520System Management
A Linux administrator has installed a web server, a database server, and a web application on a server. The web application should be active in order to render the web pages. After...
systemdService dependenciesUnit filesLinux system management - Question #521Troubleshooting
Several users reported that they were unable to write data to the /oracle1 directory. The following output has been provided: Which of the following commands should the administrat...
File SystemsInodesDisk SpaceDiagnostics - Question #522System Management
After installing some RPM packages, a systems administrator discovers the last package that was installed was not needed. Which of the following commands can be used to remove the...
Package ManagementDNFRPMLinux Commands - Question #524Troubleshooting
An administrator is trying to diagnose a performance issue and is reviewing the following output: System Properties: CPU: 4 vCPU Memory: 40GB Disk maximum IOPS: 690 Disk maximum th...
Performance TroubleshootingDisk I/O MetricsiowaitSystem Bottlenecks - Question #525Troubleshooting
A systems administrator wants to test the route between IP address 10.0.2.15 and IP address 192.168.1.40. Which of the following commands will accomplish this task?
Linux networkingip commandRoutingCommand syntax - Question #526System Management
A Linux administrator was tasked with deleting all files and directories with names that are contained in the sobelete.txt file. Which of the following commands will accomplish thi...
xargsrm commandPipesFile system management - Question #527Troubleshooting
A Linux administrator is troubleshooting the root cause of a high CPU load and average. Which of the following commands will permanently resolve the issue?
Process ManagementTroubleshootingkill commandSystem Performance - Question #528System Management
A Linux administrator wants to set the SUID of a file named dev_team.text with 744 access rights. Which of the following commands will achieve this goal?
File PermissionsSUIDchmod commandSpecial Permissions - Question #529Troubleshooting
A developer has been unable to remove a particular data folder that a team no longer uses. The developer escalated the issue to the systems administrator. The following output was...
chattr commandfile attributesimmutable filesfile system management - Question #531Scripting, Containers, and Automation
A cloud engineer is installing packages during VM provisioning. Which of the following should the engineer use to accomplish this task?
Cloud-initVM provisioningAutomationPackage management - Question #532Scripting, Containers, and Automation
A systems administrator is tasked with creating a cloud-based server with a public IP address. Which of the following technologies did the systems administrator use to complete thi...
Cloud provisioningInfrastructure as CodeTerraformAutomation tools - Question #533Troubleshooting
A Linux systems administrator is setting up a new web server and getting 404 - NOT FOUND errors while trying to access the web server pages from the browser. While working on the d...
SELinuxFile ContextWeb ServerTroubleshooting - Question #535System Management
Which of the following is a function of a bootloader?
BootloaderOS startupKernel loadingSystem boot process - Question #536System Management
A systems administrator configured firewall rules using firewalld. However, after the system is rebooted, the firewall rules are not present: The systems administrator makes additi...
firewalldsystemdService managementFirewall persistence - Question #537Scripting, Containers, and Automation
A newly created container has been unable to start properly, and a Linux administrator is analyzing the cause of the failure. Which of the following will allow the administrator to...
DockerContainersContainer Troubleshootingdocker inspect - Question #538System Management
A Linux administrator is scheduling a system job that runs a script to check available disk space every hour. The Linux administrator does not want users to be able to start the jo...
systemd timersjob schedulingsystemd unit configurationtroubleshooting - Question #539System Management
A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct in...
RPMPackage ManagementSystem VerificationLinux Commands - Question #540Troubleshooting
A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testing email connectivity to the local mail server using the mail command on a local machine wh...
DNSdig commandMX recordsTroubleshooting - Question #542System Management
A systems administrator needs to check if the service systemd-resolved.service is running without any errors. Which of the following commands will show this information?
systemdsystemctlservice managementLinux services - Question #543Troubleshooting
After several services crash, an administrator needs to find an explanation for why the services crashed. Which of the following commands will display all of the systemd service lo...
systemdLoggingTroubleshootingjournalctl - Question #544System Management
A Linux administrator needs to remove software from the server. Which of the following RPM options should be used?
rpmpackage managementsoftware removalLinux commands