Topic · 45 of 153 questions freeTopic 1: Exam Set A
Question 21Choose 2
Which of the following, if properly configured, would prevent a user from installing an OS on
a server? (Select TWO).
Correct answer:
E. Bootloader password
F. BIOS/UEFI password
Explanation:
To prevent an operating system (OS) installation, you must block the ability to boot from anything other than the existing, authorized hard drive. The two methods that directly control the boot process are:
E. Bootloader password: A bootloader (like GRUB on Linux or the Windows Boot Manager) is the first software that runs when a computer starts, and it is responsible for loading the OS. If a password is set on the bootloader, it prevents unauthorized users from:
Interrupting the default boot process.
Accessing the boot menu to select an alternative OS or a recovery image.
Passing boot parameters (e.g., booting into single-user mode on Linux or safe mode on Windows, which could be used to gain elevated privileges and initiate an OS reinstall).
F. BIOS/UEFI password: The BIOS (Basic Input/Output System) or its modern replacement, UEFI (Unified Extensible Firmware Interface), is the firmware that initializes the hardware when the server is powered on. Setting a password here provides a deeper level of control by preventing unauthorized users from:
Changing the boot order. This is the most critical function. An OS is typically installed by booting from a USB drive, DVD, or network (PXE). A BIOS/UEFI password stops someone from changing the boot priority to these devices, forcing the system to always boot from the internal hard drive.
Accessing the BIOS/UEFI setup utility altogether.
By combining these two passwords, you protect both the firmware settings (BIOS/UEFI) and the software that loads the OS (Bootloader), creating a robust barrier against unauthorized OS installation.
Why the other options are incorrect:
A. Administrator password and C. Root password: These are OS-level passwords. They are essential for controlling access within the installed OS, but they are ineffective if a user can simply boot the server from an external OS installation media. The installer environment operates outside the control of the existing OS's user accounts.
B. Group Policy Object (GPO): This is a feature of Microsoft Active Directory that controls the working environment for user accounts and computer accounts within a Windows OS. Like local admin passwords, it has no jurisdiction over the boot process before the OS loads.
D. SELinux (Security-Enhanced Linux): This is a security module for Linux that provides a mechanism for supporting access control security policies, including mandatory access controls (MAC). It is designed to confine the actions of users and processes within a running OS. It does not prevent the server from booting from an external device to install a new OS.
Reference:
This question falls under CompTIA Server+ SK0-005 Objective 4.2, "Explain the importance of physical security measures." While often thought of as logical security, controlling the boot process is a fundamental physical security measure because anyone with physical access to the server can attempt to boot it from their own media. BIOS/UEFI and bootloader passwords are the primary defenses against this threat.
Question 22Choose 2
Which of the following open ports should be closed to secure the server properly? (Choose
two.)
Correct answer:
A. 21
C. 23
Explanation:
To properly secure a server, you should close or block any insecure or unnecessary ports.
Port 21 (FTP) and Port 23 (Telnet) are both unsecured protocols that transmit data, including credentials, in clear text. Attackers can easily intercept this traffic, making these ports major security risks.
Port 21 – FTP: Used for file transfers, but it sends usernames and passwords without encryption. Replace it with SFTP (Port 22) or FTPS (Port 990) for secure file transfer.
Port 23 – Telnet: Used for remote command-line access, but also unencrypted. Replace it with SSH (Port 22), which encrypts all communication.
Why Not the Others:
22 (SSH): Secure remote management — should stay open if used for administration.
53 (DNS): Needed for domain name resolution — typically remains open.
443 (HTTPS): Secure web traffic — must be open for secure websites.
636 (LDAPS): Secure LDAP — used for encrypted directory services communication.
Reference: CompTIA Server+ SK0-005 Exam Objectives, Domain 3.1: “Summarize security best practices for server installation and management.”
NIST SP 800-41 Rev.1 – Guidelines on Firewalls and Firewall Policy
In summary:
Close Ports 21 (FTP) and 23 (Telnet) because they use unencrypted communication, leaving the server vulnerable to attacks.
Question 23Choose 1
A server administrator was asked to build a storage array with the highest possible
capacity. Which of the following RAID levels should the administrator choose?
Correct answer:
A. RAID 0
Explanation:
The requirement is to build a storage array with the highest possible capacity, meaning the maximum usable storage space from the available disks. This depends entirely on how much disk space is lost to redundancy or parity.
Let’s compare each RAID level in terms of capacity efficiency (assuming n disks of equal size):
A. RAID 0 (Striping)
Data is striped across all disks with no mirroring or parity.
Usable capacity = n × disk size (e.g., 4 × 1 TB = 4 TB usable).
Overhead = 0% → 100% of total raw capacity is usable.
This is the only RAID level that provides full disk utilization, making it the clear winner for maximum capacity.
B. RAID 1 (Mirroring)
Data is duplicated on paired disks.
Usable capacity = 1 × disk size (e.g., 4 disks → only 2 disks worth of storage).
50% overhead — half the space is used for redundancy.
C. RAID 5 (Striping with Parity)
Data and parity are distributed across all disks.
Usable capacity = (n – 1) × disk size (e.g., 4 × 1 TB = 3 TB usable).
One disk equivalent is lost to parity.
D. RAID 6 (Striping with Double Parity)
Similar to RAID 5 but uses two parity blocks.
Usable capacity = (n – 2) × disk size (e.g., 4 × 1 TB = 2 TB usable).
Two disks equivalent lost — even lower capacity.
Only RAID 0 uses every byte of every disk for storage, delivering the absolute highest possible capacity.
Important Note: While RAID 0 offers zero fault tolerance (a single disk failure destroys the entire array), the question does not mention reliability, redundancy, or data protection — it asks only for highest capacity. Therefore, RAID 0 is the correct and intended answer.
Reference:
CompTIA Server+ SK0-005 Exam Objectives
2.3 – Compare and contrast RAID levels and configurations
→ Explicitly lists:
RAID 0: Highest performance and capacity, no fault tolerance
RAID 1, 5, 6: Trade capacity for redundancy
Storage Industry Standard: RAID 0 is universally recognized as the maximum-capacity configuration in hardware and software RAID controllers.
Final Answer: A. RAID 0
It provides 100% usable capacity with no space lost to redundancy, making it the only choice for the highest possible storage capacity.
Question 24Choose 1
Which of the following backup types only records changes to the data blocks on a virtual machine?
Correct answer:
C. Incremental
Explanation
The key to answering this question is understanding how modern virtualization and backup systems achieve high efficiency. The backup type that is specifically designed to only record changes to the data blocks on a virtual machine (VM) is the Incremental backup.
After an initial full backup is taken, subsequent incremental backups leverage advanced hypervisor features—such as Changed Block Tracking (CBT) in VMware or Resilient Change Tracking (RCT) in Hyper-V. These technologies operate at the virtualization layer to identify and log exactly which blocks of data on the VM's virtual disk have been modified since the immediately preceding backup, regardless of whether that preceding backup was a full or another incremental one. The backup job then only copies these small, modified blocks, making it the fastest and most storage-efficient daily backup method.
Comparison to Other Backup Types
Differential: A differential backup, while also copying changes, copies all data blocks that have changed since the last full backup. This means each differential backup file gets progressively larger over time until the next full backup runs.
Snapshot: A snapshot is a temporary, point-in-time image of the VM's state and data. It is primarily used for quick rollback (e.g., before installing a patch) and is not a comprehensive, long-term backup strategy.
Synthetic Full: This is a process performed on the backup storage itself, not on the source VM. It creates a new full backup file by merging the existing full backup data with the subsequent incremental or differential data that is already stored in the repository. It avoids re-reading the full data from the production VM, but the initial data is still captured using an incremental or full method.
Reference
This concept is vital for the CompTIA Server+ exam and is covered under Objective 4.1: Summarize disaster recovery methods and concepts, which requires an understanding of the trade-offs between various backup types in terms of their impact on storage consumption, backup window duration, and restoration complexity (RTO/RPO).
Question 25Choose 1
Which of the following licenses would MOST likely include vendor assistance?
Correct answer:
D. Maintenance and support
Explanation:
D. Maintenance and support is the correct answer. This type of license is explicitly designed to include vendor assistance as a core component of the agreement.
What it includes: A maintenance and support license (often bundled with a software license or sold separately) typically provides the customer with direct access to the vendor's technical support team, assistance with troubleshooting, and often includes rights to software patches, updates, and new versions. The primary value proposition is the vendor assistance it guarantees.
Why the other options are incorrect:
A. Open-source: Open-source licenses (like GPL, MIT, Apache) grant users the freedom to use, modify, and distribute the software. They generally do not come with any guarantee of vendor assistance. Support for open-source software is typically community-driven (forums, documentation) or available through a separate, paid support contract from a third-party company, not the original "vendor" per se.
B. Version compatibility: This is a technical feature or a specification, not a type of license. It describes the ability of different software versions to work together. It says nothing about the terms of service or the inclusion of vendor assistance.
C. Subscription: A subscription license grants the right to use software for a specific period (e.g., monthly or annually). While many modern subscription models (like Microsoft 365) bundle maintenance and support into the subscription fee, this is not a guarantee. The core definition of a subscription is about the payment and usage model, not the inclusion of support. A subscription could, in theory, be for the software alone without any support. Maintenance and support is the more precise and direct answer.
Reference:
This topic relates to CompTIA Server+ SK0-005 Objective 5.2, "Explain the purpose and operation of virtualization and cloud computing," and general IT procurement best practices. Understanding the key differences between license types, especially what is included in a Maintenance and Support agreement, is critical for server administrators who need to ensure business continuity and have access to expert help.
Question 26Choose 1
A technician needs to provide a VM with high availability. Which of the following actions
should the technician take to complete this task as efficiently as possible?
Correct answer:
B. Clone the original VM
Explanation:
To provide a virtual machine (VM) with high availability, the most efficient method is to clone the original VM.
Cloning creates an exact copy of the existing VM, including its configuration, OS, and applications. This allows the clone to serve as a standby instance that can quickly replace the original VM in case of failure, minimizing downtime.
Many virtualization platforms (like VMware vSphere or Hyper-V) use cloning or templates to support high-availability and failover configurations efficiently.
Why the Other Options Are Incorrect:
A. Take a snapshot of the original VM:
A snapshot captures the VM’s state at a specific moment but isn’t suitable for high availability. It’s used for rollback or backup, not live redundancy.
C. Convert the original VM to use dynamic disks:
Dynamic disks manage storage space more flexibly but have nothing to do with availability or failover.
D. Perform a P2V of the original VM:
P2V (Physical-to-Virtual) converts a physical machine into a VM. Since the question already involves a VM, this step is unnecessary and inefficient.
Reference: CompTIA Server+ SK0-005 Exam Objectives, Domain 1.5: “Explain high availability and disaster recovery concepts.”
VMware vSphere Documentation: “Cloning Virtual Machines and Templates”
Microsoft Hyper-V Docs: “High availability and virtual machine replication.”
In summary:
Cloning the VM (Option B) provides a fast, efficient way to ensure high availability in a virtualized environment.
Question 27Choose 1
A server administrator needs to keep a copy of an important fileshare that can be used to
restore the share as quickly as possible. Which of the following is the BEST solution?
Correct answer:
D. Create a snapshot of the fileshare
Explanation
The goal is fastest possible restoration of an important fileshare. A snapshot is the optimal solution because:
Instantaneous creation: A snapshot is a point-in-time, near-zero-downtime copy using metadata pointers (copy-on-write or redirect-on-write).
Near-instant restore: Restoring from a snapshot involves simply reverting the volume or share to the snapshot state—often in seconds, even for terabytes of data.
No…
Tape seek/restore delays (LTO-4)
Rebuilding full + incremental chains
Manual file copying or partition management
Why the others fail the "as quickly as possible" requirement:
A. LTO-4 tape:
Tape is slow to restore (mount, seek, sequential read). Even with fast LTO-4 (120 MB/s), restoring large shares takes minutes to hours, plus offsite retrieval delays.
B. Incremental backup job:
Requires full restore + all incrementals in order. Restore time grows with backup age and data change rate—not fast.
C. Additional partition with copied files:
Requires manual or scripted copying (robocopy, rsync), which takes time proportional to data size. Also risks inconsistency during copy and not instant.
Reference CompTIA Server+ SK0-005 Exam Objectives
4.1 – Explain the importance of backup and restore procedures
→ Includes snapshots as a rapid recovery method for volumes and filesystems (especially in SAN/NAS environments).
Storage Best Practices: Snapshots are standard for near-instant recovery in NetApp, Dell EMC, Windows VSS, Linux LVM, ZFS, etc.
Final Answer: D. Create a snapshot of the fileshare
It enables the fastest restoration—typically in seconds—making it the best solution for rapid recovery.
Question 28Choose 1
A server is reporting a hard drive S.M.A.R.T. error. When a technician checks on the drive,
however, it appears that all drives in the server are functioning normally. Which of the
following is the reason for this issue?
Correct answer:
A. A S.M.A.R.T. error is a predictive failure notice. The drive will fail in the near future and
should be replaced at the next earliest time possible
Explanation:
A. A S.M.A.R.T. error is a predictive failure notice. This is the correct answer. S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) is a monitoring system built into hard drives and SSDs. Its primary purpose is to detect and report on various indicators of drive reliability, with the goal of predicting impending drive failures.
Why the drive appears normal: When a S.M.A.R.T. error is reported, the drive is still functioning.
It has not suffered a complete electronic or mechanical failure yet.
The operating system can still read from and write to it.
The error is an early warning based on degrading performance or an increasing count of reallocated sectors, spin-up time, etc.
The Core Issue: The error signifies that the drive's internal diagnostics have detected attributes that have crossed a failure threshold. While it works "normally" for now, the risk of a complete and sudden failure is high. This explains the scenario perfectly: the technician checks the drive and it appears fine, but the S.M.A.R.T. system has already raised a red flag.
Why the other options are incorrect:
B. A S.M.A.R.T. error is a write operation error. This describes a specific, immediate I/O error, not a S.M.A.R.T. event. A corrupted write packet would result in an I/O error from the controller, not a S.M.A.R.T. alert. S.M.A.R.T. monitors the health of the drive hardware over time, not individual data packets.
C. A S.M.A.R.T. error is simply a bad sector. While a growing count of reallocated sectors (bad sectors that have been mapped out) is a common trigger for a S.M.A.R.T. warning, it is not the definition of the error itself. The S.M.A.R.T. error is the predictive alert based on that event. Furthermore, a single bad sector may not always trigger a critical S.M.A.R.T. error; it's the trend that matters.
D. A S.M.A.R.T. error is an ECC error. ECC (Error-Correcting Code) is a mechanism used constantly during drive operations to detect and correct minor bit errors on the fly. A correctable ECC event is a routine occurrence and is not reported as a S.M.A.R.T. error. If uncorrectable ECC errors become frequent, that trend might be reflected in a S.M.A.R.T. attribute, but the error itself is not defined as an ECC error.
Reference:
This is a core concept in CompTIA Server+ SK0-005 Objective 3.1, "Given a scenario, perform server hardware maintenance." A key part of hardware maintenance is understanding and proactively responding to predictive failures to prevent downtime. Replacing a drive based on a S.M.A.R.T. alert is a classic example of proactive maintenance, as opposed to waiting for the drive to fail completely and reactively replacing it.
Question 29Choose 1
A technician is configuring a server that requires secure remote access. Which of the
following ports should the technician use?
Correct answer:
B. 22
Explanation:
For secure remote access, the technician should use Port 22, which is the default port for SSH (Secure Shell).
SSH encrypts all communication between the client and the server, including login credentials and command data. It’s the standard protocol for securely managing servers remotely via the command line.
Why the Other Options Are Incorrect:
A. 21 (FTP):
Used for file transfers, but not secure—transmits credentials and data in plain text.
C. 23 (Telnet):
Provides remote access but is insecure, as it also sends data unencrypted. SSH replaced Telnet for secure administration.
D. 443 (HTTPS):
Used for secure web traffic, not remote server management. It secures browser-based communication, not shell access.
Reference: CompTIA Server+ SK0-005 Exam Objectives, Domain 3.1: “Summarize security best practices for server installation and management.”
IANA Port Registry: Port 22 — Secure Shell (SSH)
NIST SP 800-77: Guide to IPsec VPNs and SSH for Secure Remote Access
In summary:
Use Port 22 (SSH) for secure, encrypted remote server access.
Question 30Choose 1
Which of the following is the MOST appropriate scripting language to use for a logon script
for a Linux box?
Correct answer:
B. Shell
Explanation:
On a Linux system, the most appropriate scripting language for a logon script is a Shell script (commonly written for Bash, the Bourne Again Shell).
Shell scripts are native to Linux and Unix environments and can automate user logon tasks such as mounting network drives, setting environment variables, or launching startup applications. They are executed automatically through files like .bash_profile, .bashrc, or /etc/profile.
Why the Other Options Are Incorrect:
A. VBS (Visual Basic Script):
Designed for Windows environments — not compatible with Linux without special tools (like Wine).
C. Java:
A full programming language, not typically used for simple system logon scripts. Overkill for this purpose.
D. PowerShell:
Used primarily on Windows systems (though PowerShell Core is cross-platform, Bash remains standard for Linux).
E. Batch:
Windows command-line scripting language — not used in Linux environments.
Reference: CompTIA Server+ SK0-005 Exam Objectives, Domain 2.4: “Explain scripting basics for server administration.”