Comptia (XK0-004) Exam Questions And Answers page 5
A junior administrator needs to unload an older video kernel module.
Which of the following commands would BEST accomplish this task?
Which of the following commands would BEST accomplish this task?
insmod
rmmod
chmod
depmod
Command Line Interface
Scripting and Automation
An administrator needs to create a shared directory in which all users are able to read, write, and execute its content but none of the regular users are able to delete any content.
Which of the following permissions should be applied to this shared directory?
Which of the following permissions should be applied to this shared directory?
rwxrwxrwt
rwxrwxrws
rwxrwxrwx
rwxrwxrw*
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Shells, Scripting, and Data Management
Which of the following best describes capability based planning?
A business planning technique that focuses on business outcomes
A business planning technique that focuses on horizontal capabilities
A business planning technique that focuses on vertical capabilities
A human resource planning technique that focuses on capable architects
Essential System Services
When requesting SSH access to a remote system, a user accidentally emailed the id_rsa key to the administrator. Which of the following should the user do NEXT?
Run the ssh-add command to add the remote system to known_hosts.
Ask the administrator to run chmod 600 id_rsa on the remote system.
Delete id_rsa key file and send the id_rsa.pub key file instead.
Stop using that key and run ssh-keygen to generate a new key pair.
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Shells, Scripting, and Data Management
A company wants to ensure that all newly created files can be modified only by their owners and that all new directory content can be changed only by the creator of the directory. Which of the following commands will help achieve this task?
umask 0022
umask 0012
chmod R 0644 /
chmod R 0755 /
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Shells, Scripting, and Data Management
A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. To which of the following files should the RSA token be added to allow this access?
authorized_keys
~/.ssh/ssh_config
id_rsa.pub
known_hosts
Command Line Interface
Networking Fundamentals
A junior systems administrator needs to make a packet capture file that will only capture HTTP protocol data to a file called test.pcap.
Which of the following commands would allow the administrator to accomplish this task?
Which of the following commands would allow the administrator to accomplish this task?
netcat -p 80 -w test.pcap
tshark -r test.pcap -o http
tcpdump -i eth0 port 80 -r test.pcap
tcpdump -i eth0 port 80 -w test.pcap
Command Line Interface
Networking Fundamentals
A user has been locked out of an account due to too many failed password attempts. Which of the following commands will unlock the user s account?
pam_tally2 --user=user --reset
passwd -u user -G root
usermod -u user -G root
chage -1 user=user --reset
Command Line Interface
Administrative Tasks
What is the representation of a related set of concerns?
Single Choice
Which of the following is the representation of a related set of concerns?
Architecture viewpoint
Diagram
Catalog
Matrix
Architecture view
System Configuration and Management
Administrative Tasks
What class of architectural information within the Architecture Repository defines processes that support governance of the Architecture Repository?
Architecture Capability
Architecture Landscape
Architecture Metamodel
Governance Log
Reference Library
Essential System Services
Comments