Free preview mode
Enjoy the free questions and consider upgrading to gain full access!
XK0-005
Free trial
Verified
Question 51
A cloud engineer needs to launch a container named web-01 in background mode. Which of the following commands will accomplish this task?
- A: docker builder -f --name web-01 httpd
- B: docker load --name web-01 httpd
- C: docker ps -a --name web-01 httpd
- D: docker run -d --name web-01 httpd
Question 52
A Linux administrator is providing a new Nginx image from the registry to local cache. Which of the following commands would allow this to happen?
- A: docker pull nginx
- B: docker attach nginx
- C: docker commit nginx
- D: docker import nginx
Question 53
Which of the following tools is BEST suited to orchestrate a large number of containers across many different servers?
- A: Kubernetes
- B: Ansible
- C: Podman
- D: Terraform
Question 54
A Linux administrator is installing a web server and needs to check whether web traffic has already been allowed through the firewall. Which of the following commands should the administrator use to accomplish this task?
- A: firewalld query-service-http
- B: firewall-cmd --check-service http
- C: firewall-cmd --query-service http
- D: firewalld --check-service http
Question 55
A systems administrator is encountering performance issues. The administrator runs a command with the following output:
09:10:18 up 457 days, 32min, 5 users, load average: 4.22 6.63 5.58
The Linux server has the following system properties:
CPU 4 vCPU -
Memory: 50GB -
Which of the following accurately describes this situation?
- A: The system is under CPU pressure and will require additional vCPUs.
- B: The system has been running for over a year and requires a reboot.
- C: Too many users are currently logged in to the system.
- D: The system requires more memory.
Question 56
A Linux administrator has set up a new DNS forwarder and is configuring all internal servers to use the new forwarder to look up external DNS requests. The administrator needs to modify the firewall on the server for the DNS forwarder to allow the internal servers to communicate to it and make the changes persistent between server reboots. Which of the following commands should be run on the DNS forwarder server to accomplish this task?
- A: ufw allow out dns
- B: systemctl reload firewalld
- C: iptables -A OUTPUT -p udp -m udp -dport 53 -j ACCEPT
- D: firewall-cmd --zone=public --add-port=53/udp --permanent
Question 57
A new Linux systems administrator just generated a pair of SSH keys that should allow connection to the servers. Which of the following commands can be used to copy a key file to remote servers? (Choose two.)
- A: wget
- B: ssh-keygen
- C: ssh-keyscan
- D: ssh-copy-id
- E: ftpd
- F: scp
Question 58
A Linux engineer receives reports that files created within a certain group are being modified by users who are not group members. The engineer wants to reconfigure the server so that only file owners and group members can modify new files by default. Which of the following commands would accomplish this task?
- A: chmod 775
- B: umask. 002
- C: chattr -Rv
- D: chown -cf
Question 59
A Linux systems administrator needs to copy files and directories from Server A to Server B. Which of the following commands can be used for this purpose? (Choose two.)
- A: rsyslog
- B: cp
- C: rsync
- D: reposync
- E: scp
- F: ssh
Question 60
A Linux administrator rebooted a server. Users then reported some of their files were missing. After doing some troubleshooting, the administrator found one of the filesystems was missing. The filesystem was not listed in /etc/fstab and might have been mounted manually by someone prior to reboot. Which of the following would prevent this issue from reoccurring in the future?
- A: Sync the mount units.
- B: Mount the filesystem manually.
- C: Create a mount unit and enable it to be started at boot.
- D: Remount all the missing filesystems.
Question 61
Joe, a user, is unable to log in to the Linux system. Given the following output:
Which of the following commands would resolve the issue?
- A: usermod -s /bin/bash joe
- B: pam_tally2 -u joe -r
- C: passwd -u joe
- D: chage -E 90 joe
That’s the end of your free questions
You’ve reached the preview limit for XK0-005Consider upgrading to gain full access!
Free preview mode
Enjoy the free questions and consider upgrading to gain full access!