Win IT Exam with Last Dumps 2024


CompTIA XK0-004 Exam

Page 18/18
Viewing Questions 171 180 out of 180 Questions
100.00%

Question 171
A site reliability engineer updated the latest configuration management scripts and committed them to a workstream called either test or patch. A Linux administrator wants to ensure these latest workstreams are able to be retrieved to the server. Which of the following is the BEST Git attribute to use?
A. branch
B. fetch
C. log
D. pull

Question 172
A systems administrator wants to disable the Linux Kernel WatchDog Timer Driver for security purposes.
Which of the following will accomplish this task?
A. Add blacklist watchdog to the /etc/modprobe.d/blacklist file.
B. Rename the /etc/modprobe.d/watchdog file to watchdog.off instead.
C. Remove the watchdog=1 from the /usr/modules/watchdog.conf file.
D. Add watchdog=0 to the /etc/modprobe.conf file.

Question 173
In which of the following Linux GUI environments would the Konsole application MOST likely be found?
A. Gnome
B. KDE
C. Cinnamon
D. Unity
E. MATE

Question 174
A new user has been added to a Linux machine. Which of the following directories would contain the user's default files?
A. /etc/login.defs
B. /etc/passwd
C. /etc/skel
D. /etc/inittab

Question 175
An issue was discovered on a testing branch of a Git repository. A file was inadvertently modified and needs to be reverted to the master branch version. Which of the following is the BEST option to resolve the issue?
A. git branch -b master file
B. git merge master testing
C. git stash branch master
D. git checkout master -- file


Question 176
A junior systems administrator has generated a PKI certificate for SSH sessions. The administrator would like to configure authentication without passwords to remote systems. Which of the following should the administrator perform?
A. Add the content of id_rsa.pub file to the remote system ~/.ssh/authorized_keys location.
B. Add the content of id_rsa file to the remote system ~/.ssh/authorized_keys location.
C. Add the content of id_rsa file to the remote system ~/.ssh/known_hosts location.
D. Add the content of id_rsa.pub file to the remote system ~/.ssh/known_hosts location.

Question 177
A junior systems administrator is scanning archive.
tar files with an antivirus scanner. The administrator is given the following tasks:
- List all files that are in the archive.tar files.
- Extract all files from the archive.tar files.
Which of the following actions should be performed to meet these requirements? (Choose two.)
A. tar -tvf archive.tar
B. tar -xf archive.tar
C. tar -A archive.tar
D. tar -av archive.tar
E. tar -r archive.tar
F. tar -uvz archive.tar

Question 178
SIMULATION -After installing a new web server, you are unable to browse to the default web page.
INSTRUCTIONS -Review all the command output and select the command needed to remediate the issue.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
Image XK0-004_178Q.png related to the CompTIA XK0-004 Exam
Image XK0-004_178R.png related to the CompTIA XK0-004 Exam

Question 179
A corporate server security policy states, `Ensure password hashes are not readable by non-administrative users.` The administrator should check the permissions on which of the following files to ensure the server satisfies this policy?
A. /etc/shadow
B. /etc/passwd
C. /etc/group
D. /etc/security/limits.conf

Question 180
A Linux systems administrator is implementing Source Code Management for the web application server configuration files located in /etc/httpd/. Which of the following steps should the administrator perform FIRST?
A. Clone the remote repository using 'git clone'
B. Create a new repository using 'git init'
C. Retrieve the remote changes using 'git commit'
D. Configure the directory for git using 'git config'