Practice Free XK0-006 Exam Online Questions
Which of the following describes PEP 8?
- A . The style guide for Python code
- B . Python virtual environments
- C . A package installer for Python
- D . A Python variable holding octal values
Which of the following most accurately describes a webhook?
- A . An authentication method for web-server communication
- B . An SNMP-based API for network device monitoring
- C . A means to transmit sensitive information between systems
- D . An HTTP-based callback function
A DevOps engineer needs to create a local Git repository.
Which of the following commands should the engineer use?
- A . git init
- B . git clone
- C . git config
- D . git add
An administrator receives the following output while attempting to unmount a filesystem: umount /data1: target is busy.
Which of the following commands should the administrator run next to determine why the filesystem is busy?
- A . ps -f /data1
- B . du -sh /data1
- C . top -d /data1
- D . lsof | grep /data1
Which of the following utilities supports the automation of security compliance and vulnerability management?
- A . SELinux
- B . Nmap
- C . AIDE
- D . OpenSCAP
Which of the following Ansible components contains a list of hosts and host groups?
- A . Fact
- B . Inventory
- C . Playbook
- D . Collection
An administrator needs to remove the directory /home/user1/data and all of its contents.
Which of the following commands should the administrator use?
- A . rmdir -p /home/user1/data
- B . ln -d /home/user1/data
- C . rm -r /home/user1/data
- D . cut -d /home/user1/data
Which of the following passwords is the most complex?
- A . H3sa1dt01d
- B . he$@ID$heTold
- C . H3s@1dSh3t0|d
- D . HeSaidShetold
In the echo "profile-$num-$name" line of a shell script, the variable $num seems to not be expanding during execution.
Which of the following notations ensures the value is expanded?
- A . echo "profile-$(num) -$name"
- B . echo ‘profile-$num-$name’
- C . echo "profile-‘Snum‘-$name"
- D . echo "profile-${num}-$name"
Following the completion of monthly server patching, a Linux administrator receives reports that a critical application is not functioning.
Which of the following commands should help the administrator determine which packages were installed?
- A . dnf history
- B . dnf list
- C . dnf info
- D . dnf search
