A junior systems administrator is upgrading a package that was installed on a Red Hat-based system. The administrator is tasked with the following:
1.
Update and install the new package.
2.
Verify the new package version is installed.
Which of the following should be done to BEST accomplish these task? (Choose two.)
A. yum install
B. yum upgrade
C. rpm -e
D. rpm -qa
E. apt-get
F. apt-get upgrade
A junior administrator is migrating a virtual machine from a Type 1 hypervisor to a Type 2 hypervisor. To ensure portability, which of the following formats should the administrator export from the Type 1 hypervisor to ensure compatibility?
A. OWASP
B. VDI
C. VMDK
D. OVA
Which of the following is the purpose of the monitoring server role?
A. To aggregate web traffic to watch which websites employees are visiting
B. To collect status and performance information about the servers in an environment
C. To provide user authentication services to a network
D. To provide real-time analysis of potential threats to the organization
Two specific users need access to a directory owned by root where backups are located. Which of the following commands would BEST ensure the specified users can access the backup files?
A. umask
B. chcon
C. chmod
D. setfacl
A systems administrator needs to retrieve specific fields from a CSV file. Which of the following tools would accomplish this task?
A. awk
B. sort
C. print
D. echo
A junior Linux administrator is installing patches using YUM. The administrator issues the following command:
yum list installed
The output of the command is as follows:
Given this scenario and the output, which of the following should the administrator do to address this issue?
A. renice -n 9 -p 5180
B. killall yum
C. ps -ef | grep yum
D. top | grep yum
A systems administrator configured a new kernel module, but it stopped working after reboot. Which of the following will allow the systems administrator to check for module problems during server startup?
A. lsmod
B. modprobe
C. modinfo
D. dmesg
A Linux system is running normally when the systems administrator receives an alert that one application spawned many processes. The application is consuming a lot of memory, and it will soon cause the machine to become unresponsive. Which of the following commands will stop each application process?
A. kill `pidof application`
B. killall application
C. kill -9 `ps -aux | grep application`
D. pkill -9 application
A server is almost out of free memory and is becoming unresponsive. Which of the following sets of commands will BEST mitigate the issue?
A. free, fack, partprobe
B. lsof, lvcreate, mdadm
C. df, du, rmmod
D. fdisk, mkswap, swapon -a
A Linux administrator is using a public cloud provider to host servers for a company's website. Using the provider's tools, the administrator wrote a JSON file to define how to deploy the servers. Which of the following techniques did the administrator use?
A. Infrastructure as code
B. Build automation
C. Platform as a service
D. Automated configuration
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only CompTIA exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your XK0-004 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.