Which of the following filesystems contains non-persistent or volatile data?
Correct Answer: C
The /proc filesystem is a virtual filesystem that provides process and kernel information. It is non- persistent and volatile, meaning its contents exist only in memory and are regenerated at each system boot.
Question 77
An administrator needs to create a new logical volume from sets of provisioned disks. Which of the following shows the correct order of commands the administrator should execute?
Correct Answer: A
Logical Volume Management (LVM) is a fundamental storage management concept in CompTIA Linux+ V8. LVM provides a layered abstraction between physical storage devices and the filesystems used by the operating system. To successfully provision a new logical volume, an administrator must follow a strict hierarchy of operations: pvcreate (Physical Volume): This is the first step. The administrator must initialize the raw physical disks or partitions for use by LVM. This command writes LVM metadata to the disk, making it a "Physical Volume" (PV). vgcreate (Volume Group): In the second step, the administrator combines one or more Physical Volumes into a single storage pool called a "Volume Group" (VG). The VG acts like a virtual disk drive created from the combined capacity of the underlying PVs. lvcreate (Logical Volume): Finally, the administrator carves out space from the Volume Group to create "Logical Volumes" (LV). These LVs act like partitions and are where the administrator will actually create a filesystem (e.g., mkfs.ext4) and mount it for use. This order is mandatory because each layer depends on the existence of the one below it. You cannot create a VG without PVs, and you cannot create an LV without a VG. Therefore, the sequence pvcreate -> vgcreate -> lvcreate is the verified and only correct order of execution.
Question 78
Which of the following most accurately describes a webhook?
Correct Answer: D
The correct answer is D. An HTTP-based callback function. A webhook is a mechanism that allows one system to automatically send real-time data to another system via HTTP when a specific event occurs. Instead of continuously polling an API for updates, a webhook enables event-driven communication, making automation more efficient and responsive. In practical Linux and DevOps environments, webhooks are widely used in automation, orchestration, and integration workflows. For example, a version control system like GitHub can trigger a webhook to notify a CI /CD pipeline whenever new code is pushed. The receiving system exposes an HTTP endpoint (URL), and when the event occurs, the webhook sends an HTTP POST request with relevant data payload. This design significantly reduces overhead compared to polling mechanisms. Option A is incorrect because webhooks are not authentication mechanisms. While authentication (such as tokens or signatures) may be used to secure webhook communication, it is not their primary purpose. Option B is incorrect because SNMP (Simple Network Management Protocol) is unrelated to webhooks. SNMP is used for monitoring and managing network devices, whereas webhooks operate over HTTP/HTTPS protocols. Option C is incorrect because although webhooks can transmit data (including sensitive information if not properly secured), their purpose is not specifically to transmit sensitive data but to notify systems of events through automated callbacks. From a Linux+ perspective, understanding webhooks is essential in automation and orchestration tasks. They are commonly integrated into scripts, configuration management tools, and cloud-native workflows to enable reactive, event-driven system behavior, improving efficiency and scalability in modern infrastructure environments.
Question 79
A systems administrator receives reports from users who are having issues while trying to modify newly created files in a shared directory. The administrator sees the following outputs: Which of the following provides the best resolution to this issue?
Correct Answer: D
Setting the setgid bit on the shared directory ensures that all newly created files and subdirectories inherit the directory's group ownership, allowing all group members to modify files consistently without manual intervention.
Question 80
A Linux administrator attempts to log in to a server over SSH as root and receives the following error message: Permission denied, please try again. The administrator is able to log in to the console of the server directly with root and confirms the password is correct. The administrator reviews the configuration of the SSH service and gets the following output: Based on the above output, which of the following will most likely allow the administrator to log in over SSH to the server?
Correct Answer: D
The SSH configuration option PermitRootLogin prohibit-password prevents the root user from logging in with password authentication. This setting means root cannot use a password to log in via SSH; only key- based authentication is permitted for root. The administrator can still log in as root locally, which is not affected by this SSH configuration. To allow SSH access as root, the administrator must use an SSH key instead of a password. Other options: * A. MaxSessions controls the number of simultaneous SSH sessions but is not causing the login denial here. * B. PAM (Pluggable Authentication Modules) is disabled, but enabling it is not required for basic SSH authentication. * C. Changing the SSH port is unrelated to the authentication method issue. Reference: CompTIA Linux+ Study Guide: Exam XK0-006, Sybex, Chapter 11: "Securing Linux", Section: "Securing SSH Access" CompTIA Linux+ XK0-006 Objectives, Domain 3.0: Security