[July-2022]100% Exam Pass-XK0-004 Exam VCE Free from Braindump2go[Q334-Q373] July 5, 2022 lead2pass July/2022 Latest Braindump2go XK0-004 Exam Dumps with PDF and VCE Free Updated Today! Following are some new XK0-004 Real Exam Questions! QUESTION 334An administrator wants to use a Linux server’s GUI remotely but is limited by security to using TCP port 22. Which of the following is the BEST choice for installation on the Linux server to enable this functionality? A. X-forwardingB. NXC. VNCD. XRDP Answer: C QUESTION 335A technician recently installed Linux on a desktop computer. The desktop has two graphics cards from two different vendors. One of the graphics cards works, but the other does not.Which of the following commands should the technician use to start troubleshooting this issue? A. IsmodB. VmstatC. GdmD. startx Answer: A QUESTION 337A Linux administrator wants to include a standard, hash_profile file whenever a new local user is created on Linux server. Which of the following is the BEST location to place the file? A. /User/local/B. /etc/skel/C. /etc/profile.d/D. /Home/default_user/ Answer: A QUESTION 338Which of the following files would a junior systems administrator check to verify DNS server settings? A. /etc/networkB. /etc/rsolveconfC. /etc/nsswitch,confD. /etc/hosts Answer: B QUESTION 339Which of the following directories will help an administrator identify the specifications of a Linux server in term of resources? A. /sysB. /ProcC. /VarD. /usr Answer: B QUESTION 340The following error is encountered when running a script: Which of the following is the cause of this error? A. Script.sh was not added to the PATHB. The $ ! line is incorrectC. Script.sh is missing the executable bit.D. The file script. sh does not exist.E. Bash is not installed on the system Answer: D QUESTION 342Which of the following directories contains information related to various runtime processes, such as hardware and system memory? A. /Usr/binB. /OptC. /ProcD. /etc/local/ Answer: A QUESTION 343A system administrator is setting up a cron job that will copy thousands files from a remote directory on a scheduled basic. The file contents should retain their original permissions, including and group ownership, and the cron job should run for the least amount of the possible. Which of the following is the BEST program to use in this situation? A. RsyncB. CurlC. ScpD. WgetE. sftp Answer: A QUESTION 344A Linux administrator has configured a local named caching server to reduce the amount of time to resolve common DNS addresses. The server resolves using the external server, however; the administrator wants to avoid this configuration. The administrator verifies the named, conf settings to confirm the following relevant settings:The administrator then runs dig twice to look up an external address and receives the following relevant output the second time. Which of the following should the administrator do to correct the configuration? A. Modify /etc/resolve.config and set nameserver to 127.0.0.1B. Add 1270.0.1 to the forwards in the named confi file.C. Alias the dig commands to use nslookup instead.D. Configure the name service in system to be masked Answer: C QUESTION 345An administrator is adding an existing user named `’buddy” to the Apache group.Which of the following should the administrator perform to accomplish this task? A. sseradd -g apache buddyB. ssermod -g apche buddyC. sudo useradd -g apache buddyD. sudo usermod -g apachebuddy Answer: B QUESTION 346An administrator clones a Git repository onto a local laptop. While inspecting the code, the administrator notices a bug and wants to fix it.Which of the following is the BEST command for the administrator to use to test a patch for the prior to updating the version saved in master? A. InitB. BranchC. StashD. ComitE. merge Answer: A QUESTION 347A Linux administrator is investigating an issue with an internal Linux server that is unable to resolve the following internal addresses: The administrator runs the following commands as part of troubleshooting: Which of the following is MOST likely resolve the issue? A. Allow outbound DNS traffic to the internal DNS server.B. Add a public DNS for fileshare, example, internal.C. Install a caching DNS server on the local workstation.D. Update resolve, conf to use the internal DNS server. Answer: A QUESTION 348A system administrator needs to bootstrap a series of Ubuntu images for a public provider. The administrator must ensure at the images contain the exact same updates, custom. Configure files after their first and then automatically. Which of the following tools the administrator user? A. AnsibleB. DockerC. Cloud-initD. Anaconda Answer: B QUESTION 349Which of the following commands will result in the HOGEST compression level when using gzig to compress a file name file, txt? A. Gzip -9 file. textB. Gzip -100-file. TextCrip -high file.txtC. Gzip -5 file.txtD. Gzip -fast file. text Answer: A QUESTION 351Which of the following is considered best practices when using definition files for the provisioning of Linus servers to the cloud? A. Build automationB. Container orchestrationC. Infrastructure as codeD. Continuous integration Answer: B QUESTION 352A Linux administrator is testing a configuration script and wants to change the hostname of a workstation temporarily, but it must return to its assigned workstation name after reboot.Which of the following is the BEST command for the administrator to use? A. Hostnamet1 set-hostname -transient tempnameB. Hostnamect1 -H localhost tempnameC. Hostnamect1 set-hostname tempnameD. Hostnamect1 set-hostname -static tempname Answer: A QUESTION 354A network administrator installed a web server on a Linux host and added a firevalid command to open port tcp/80. The web server worked without error until an updated and patch kernel was installed on the system a month later. Now users are unable to access the web server even though the service is running, which of the following would fix the issue? A. Use the firevalid command to open the HTTP application service rather than the port.B. Change the firevalid zone t private and open port tcp/80.C. Issue an additional firevalid command to open up port tcp/443 as well as port tcp/80.D. Use the firevalid command to open tcp/80 both with and without the -permanent switch. Answer: D QUESTION 355Ann, a Linux administrator, is storing scripts in a private Git repository.Which of the following commands should Ann use to avoid entering the login and password every time Ann commits change? A. Git init shared-trueB. Echo authe n tapprove `’>> .git/configC. Git credential approveD. Git config credential.help cache Answer: B QUESTION 356An administrator is configuring a new Linux server and wants to boot the system to a file that was previously downloaded to locally install removable media. Which of the following boot options should the administrator choose? A. PXEB. ISOC. NFSD. HTTP Answer: B QUESTION 357A lab virtual image is always named pc21.local and in variety of testing situation. The administrator wants to use the IP address pc21.local in a script but is concerned it may change from day to day, as the image is rebuilt fairly often.Which of the following should the administrator add to a script to ensure the IP address is always accurate? A. MYIP =$(dig pc21.local +shortB. MYIP =$(dig pc21.local +norecurse +nocomments)C. MYIP =$(dig pc21.local + answer + mostatusD. MYIP =$(dig pc21.local +authority) Answer: B QUESTION 358A Linux server hosts Kerberos and LDAP, which of the following is the MOST likely role of this server? A. Certificate authorityB. ClusteringC. DatabaseD. Authentication Answer: D QUESTION 359A technician reviews the following output: Which of the following commands should the technical execute to ensure the system has the appropriate paging? (Select TWO.) A. dd if=dev/sda5 of=/tmp bs=512B. swapon /dev/sda5C. Mkswap/dev/sda5D. Mkfs,ext3 /dev/sda5E. Lostat/dev/sda 5F. Free 璵/dev/sda Answer: BC QUESTION 360Users are receiving permission-denied messages when trying to access a spreadsheet file within the company’s filesystem. A Linux administrator receives a ticket and begin to investigate the following output: Which of the following command would produce the presented output? A. TopB. niceC. grepD. isof Answer: D QUESTION 361A Linux administrator needs to run a few virtual machines and containers on the physical machines with a single network interface. Which of the following networking would allow the administrator to connect with the outside world? A. BridgingB. VLANC. Bonding/teamingD. VPN Answer: A QUESTION 362An administrator is logged on as an unprivileged user and needs to compile and installed an application from source. Which of the following BEST represents how to complete this task? A. cd <source>; sudo ./configure $$ make $$ make installB. cd <source>; ./configure $$ sudo make $$ make installC. cd <source>; ./configure $$ make $$ make installD. cd <source>; ./configure $$ make $$ make install Answer: A QUESTION 363A system administrator is investigating why user3 cannot log in using SSH to one of the servers.An attempt to log in results in the following: Which of the following commands should the systems administrator execute to allow user3 log in to the server? A. Restorecon /bin/rsshB. Passwd/-u user3C. Usermod/ -s /bin/sh user3D. Setfac1/ bin/rssh Answer: A QUESTION 364An administrator wants to be able to access a remote server. After creating an SSH key pair, which of the following describes where the public key should be placed to allow for key-based authentication? A. -/, ssh/authorized_keysB. -/ssh/id_ras.pubC. -/.ssh/known_hostsD. -/.ssh/config Answer: A QUESTION 365Joe, a system administrator, realizes that the time zone on a system is different than his local time zone. Joe runs the command export Tz-America .Chicago to resolve this. However the next Joe logs in, Joe notices the issue has returned. Which of the following is the BEST way for Joe to fix this issue so the solution persists across logins? A. Run the export Tz=/etc/localtime commandB. Set the correct the zone with the date command.C. Add the export Tz=America/Chicage command to the bash_profile file.D. Run the export LC ALL=America/Chicago command Answer: C QUESTION 367A Linux administrator issues the following command with root or sudo privileges:Rmp -1 installpackage.rpm -nodepsWhich of the following should the administrator expect to see in the output? A. The installpackage.rmp package will not fail due to checks for dependencies.B. The installpackage.rmp package will not fail due to missing dependenciesC. The installpackage.rmp package will not be installed, and there will be dependenciesD. The installpackage.rmp package will not be installed, and there not be check for dependencies Answer: A QUESTION 368A Linux administrator execute the following steps in this order:1. Changes some software code2. Commits the changes to the Git repository3. Triggers a job to compile4. Execute some test scripts5. Packages the software package6. Publishes the software packages to a package repositoryWhich of the following orchestration processes is the administrator using? A. Build automationB. Deployment automationC. Test automationD. Infrastructure automation Answer: C QUESTION 369A system administrator is troubleshooting a web server that runs in a container. After the log is retained, the container occasionally stops logging to a log file. Fortunately, the vendor provides a custom signal that allows the application to reconnect to the log file.Which of the following would be BEST for the administrator to run the containers? A. Kill HUP 1B. Kill USR 1C. Kill TEAM 1D. Kill Kill 1 Answer: A QUESTION 370A junior administrator issues the following commands on a Linux server: The next day, the junior administrator is unable to edit the file. Which of the following would resolve this issue? A. Chmod 666 /home/junior_admin/tasklistB. Chmod $+x /home/junior_admin/tasklistC. Chmod g+s /home/junior_admin/tasklistD. Chmod o+rwx /home/junior_admin/tasklist Answer: A QUESTION 371An administrator wants to add a user named comptia to the system administrators group. Which of the following commands will accomplish this task? A. Usermod sG wheel comptiaB. Useradd -sG wheel comptiaC. visudo -sG wheel comptiaD. sudo -sG wheel comptia Answer: B QUESTION 372Which of the following commands should a system administrator use to configure a passwordless login to remote system? (Select TWO.) A. CpB. Ssh-agentC. Ssh-copy-idD. Ssh-keygenE. Ssh-addF. openssl Answer: BC QUESTION 373A new packages repository named repo10 has been installed on mirror site. A Linux administrator wants to use this new repository for local package installations. In which of the following locations should the administrator store the configuration information for the repo10 repository? A. /etc/yum.reps.d/repo10.RepoB. /etc/yum_repo.d/repo10C. /etc/yum.reps.d/repo10D. /etc/yum.conf Answer: A Resources From: 1.2022 Latest Braindump2go XK0-004 Exam Dumps (PDF & VCE) Free Share:https://www.braindump2go.com/xk0-004.html 2.2022 Latest Braindump2go XK0-004 PDF and XK0-004 VCE Dumps Free Share:https://drive.google.com/drive/folders/1CKa6jPAj_xZJUOpQDpD2r-JcM3pUDVpP?usp=sharing 3.2021 Free Braindump2go XK0-004 Exam Questions Download:https://www.braindump2go.com/free-online-pdf/XK0-004-PDF-Dumps(334-373).pdf Free Resources from Braindump2go,We Devoted to Helping You 100% Pass All Exams!