00:20:00

CompTIA Server+ Practice Test (SK0-005)

Use the form below to configure your CompTIA Server+ Practice Test (SK0-005). The practice test can be configured to only include certain exam objectives and domains. You can choose between 5-100 questions and set a time limit.

Logo for CompTIA Server+ SK0-005
Questions
Number of questions in the practice test
Free users are limited to 20 questions, upgrade to unlimited
Seconds Per Question
Determines how long you have to finish the practice test
Exam Objectives
Which exam objectives should be included in the practice test

CompTIA Server+ SK0-005 Information

The CompTIA Server+ (SK0‑005) certification is tailored for IT professionals aiming to validate their proficiency in installing, managing, securing, and troubleshooting server systems across data center, on‑premises, and hybrid environments. Launched in May 2021, this mid‑level exam comprises up to 90 multiple‑choice and performance‑based questions, to be completed in 90 minutes, and requires a passing score of 750 on a 100–900 scale. Candidates are expected to have approximately two years of hands‑on experience in server environments and should possess foundational knowledge equivalent to CompTIA A+ certification.

The exam covers four core domains: Server Hardware Installation and Management (18%), Server Administration (30%), Security and Disaster Recovery (24%), and Troubleshooting (28%).

The hardware domain includes tasks like racking servers, managing power and network cabling, configuring RAID, and maintaining various drive types, from SSDs to hybrid systems.

The administration domain focuses on OS installation (GUI, core, virtualized, or scripted), network configuration, server roles and virtualization, scripting basics, asset documentation, backup of configurations, and licensing concepts .

Security and disaster recovery encompass server hardening techniques, physical and data security, identity and access management, backup strategies (full, incremental, snapshot), and recovery planning including hot, warm, cold, and cloud-based site setup .

The troubleshooting domain emphasizes systematic problem-solving across hardware, storage, OS and software, network connectivity, and security issues, involving techniques such as diagnostics, log analysis, reseating components, and resolving boot errors or DHCP/DNS issues .

Aspiring candidates should follow a structured preparation plan using official exam objectives to guide their study. Practical experience and familiarity with real-world scenarios—especially using hands-on labs, performance-based exercises, scripting tasks, RAID configuration, virtualization, and disaster recovery setups—can significantly enhance readiness. This targeted strategy helps ensure both technical competence and confidence when tackling the SK0-005 Server+ exam.

CompTIA Server+ SK0-005 Logo
  • Free CompTIA Server+ SK0-005 Practice Test

  • 20 Questions
  • Unlimited
  • Server Hardware Installation and Management
    Server Administration
    Security and Disaster Recovery
    Troubleshooting
Question 1 of 20

You are cabling a new 2U application server that has two hot-swappable power supplies. The rack is in a Tier III colocation facility that offers two completely independent UPS systems:

  • UPS-A - powered by Utility Company #1
  • UPS-B - powered by Utility Company #2

Every rack has an A-side PDU wired only to UPS-A and a B-side PDU wired only to UPS-B. The customer's service-level agreement demands that the server remain online even if one utility provider suffers a total outage. Which cabling practice BEST satisfies this requirement?

  • Plug both power supplies into two different outlets on the A-side PDU to balance the load across phases.

  • Feed a rack-mount static transfer switch from the B-side PDU only and connect both server power supplies to the switch.

  • Connect one power supply to a receptacle on the A-side PDU (UPS-A) and the other power supply to a receptacle on the B-side PDU (UPS-B).

  • Attach the first power supply to the A-side PDU and leave the second power supply disconnected for future maintenance use.

Question 2 of 20

A server administrator is tasked with adding a new hard drive to a rack-mount server to expand its storage capacity. The server's backplane is connected to a SATA controller, and all existing drives are 4TB SATA HDDs. The administrator finds a spare 4TB SAS drive and inserts it into an empty bay. The drive's activity light does not illuminate, and the operating system does not detect the new drive. What is the most likely cause of this issue?

  • The server's SATA controller is not compatible with SAS drives.

  • The SAS drive requires a different power connector than what the SATA backplane provides.

  • The drive must be formatted with a specific file system before the server can recognize it.

  • The new drive's capacity exceeds the maximum supported by the SATA controller.

Question 3 of 20

While hardening a portable backup script, a systems administrator needs the script to rotate logs only when the current log volume (in MB) stored in variable SIZE exceeds the configured maximum stored in MAX. The existing Bourne-shell code is:

if [ "$SIZE" > "$MAX" ]; then
  /usr/local/bin/rotate_logs
fi

During testing, the shell treats the > symbol as an output-redirection operator and the comparison fails. The script must stay POSIX-compliant and run under /bin/sh. Which replacement will correctly perform the numeric comparison?

  • Escape the operator: if [ "$SIZE" \> "$MAX" ]; then

  • Replace the condition with if [ "$SIZE" -gt "$MAX" ]; then

  • Use arithmetic evaluation: if (( SIZE > MAX )); then

  • Replace the condition with if [ "$SIZE" -ge "$MAX" ]; then

Question 4 of 20

During an overnight maintenance window you must replace a failed DIMM in a rack-mounted application server. The host is already powered down and its AC cords have been removed from the PDU. After you put on a wired anti-static wrist strap, which action with the strap will provide continuous electrostatic-discharge protection while you handle the memory module inside the chassis?

  • Snap the strap onto the powder-coated rack rail that supports the server.

  • Plug the strap into a grounding lug on the facility UPS while leaving the server connected to mains power.

  • Clip the strap's lead to an unpainted chassis screw on the server after the power cords have been unplugged.

  • Attach the strap to the outside of the static-shielding bag that contains the replacement DIMM.

Question 5 of 20

After applying routine updates to a CentOS 7 application server, a systems administrator attempts to start a custom service that was compiled to interact with PostgreSQL. The service immediately fails and the journal records:

error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory

Which of the following actions will MOST likely resolve the problem?

  • Rebuild the initramfs image and reboot the server to load updated kernel modules.

  • Run ldconfig to rebuild the shared‐library cache and then restart the service.

  • Install the package that provides libpq.so.5 (postgresql-libs) with the system's package manager.

  • Open TCP port 5432 in the host firewall and reload firewalld.

Question 6 of 20

A systems administrator is tasked with deploying 25 identical virtual machines (VMs) to a hypervisor cluster. Each VM must have a specific server operating system, a pre-configured web server application, and all current security patches. The primary goal is to minimize deployment time and ensure consistency across all VMs.

Which of the following installation methods is the MOST efficient for this task?

  • P2V (Physical to Virtual) conversion

  • Template deployment

  • Unattended installation using a network source

  • Bare-metal installation

Question 7 of 20

While re-cabling a server row, a technician and a coworker must move a 70 lb (32 kg) 2U UPS from its shipping pallet onto the rails in the bottom 4U of a 42U cabinet. According to recommended proper lifting techniques, which action should they take to minimize the risk of musculoskeletal injury?

  • Squat by bending your knees and hips, keep your back straight, hold the UPS close to your torso, and lift smoothly with your legs while the coworker stabilizes the chassis.

  • Keep your knees locked, bend at the waist, and straighten your back quickly to raise the UPS before sliding it into the rack.

  • Hoist the UPS above shoulder level first so it clears the rack posts, then lower it into place.

  • Stand an arm's length from the cabinet, grasp the UPS handles, and swing the unit sideways to align it with the rails in one motion.

Question 8 of 20

A systems administrator is troubleshooting a Linux file server following an unexpected datacenter-wide power outage. The server boots, but an application is unable to access its data directory. When attempting to list the contents of the /srv/app_data directory, the administrator receives an "Input/output error". Other directories on the same logical volume are accessible, but some files appear to be missing. System logs from the boot process show multiple errors related to inconsistencies in the filesystem structure. Which of the following is the MOST likely cause of these issues?

  • A corrupt filesystem table

  • Multiple drive failure

  • Loose connectors

  • Cache battery failure

Question 9 of 20

While automating a build pipeline, a systems administrator is writing a PowerShell script that must email an HTML report. The body of the email has to span multiple lines, preserve the HTML exactly as typed, and include the value of the $ServerName variable inside the markup. Which line correctly declares the string so that the variable is expanded at runtime?

  • $body = @'

    Server $ServerName is ready.'@
  • $body = @"

    Server $ServerName is ready."@
  • $body = @"

    Server `$ServerName is ready."@
  • $body = 'Server $ServerName is ready.'

Question 10 of 20

After installing Windows Server 2022 Datacenter on a new rack-mounted server, loading vendor RAID drivers, applying the latest updates, and installing monitoring agents, an administrator plans to use a standalone disk-to-disk hardware duplicator to create physical clones of the system drive for nine identical servers that will be deployed later today. Each target chassis has the same motherboard, storage controller, and firmware settings as the source. To avoid security identifier (SID) conflicts, activation errors, or other duplication problems when the clones first boot on the production network, what action should the administrator take on the reference server immediately before powering it down for cloning?

  • Convert the NVMe system disk from GPT to MBR so the boot record copies identically.

  • Disable Secure Boot in UEFI firmware so the duplicated drives will boot in legacy BIOS mode.

  • Install Microsoft Deployment Toolkit (MDT) and capture the server into a WIM image instead of using the disk duplicator.

  • Execute Sysprep with the /generalize and /shutdown options to reseal the OS, then power the server off.

Question 11 of 20

A server administrator is investigating user complaints about slow performance on a critical, internally-hosted application. To validate whether the current performance is within the formally agreed-upon parameters, which document should the administrator consult to find the specific, guaranteed metrics for uptime and response time?

  • Network infrastructure diagram

  • Server configuration baseline

  • Business Impact Analysis (BIA)

  • Service Level Agreement (SLA)

Question 12 of 20

A systems administrator is called to investigate a physical server that has become unresponsive. The administrator is forced to perform a hard reboot to bring the system back online. While reviewing the server's baseboard management controller (BMC) hardware logs, the administrator finds several critical entries from just before the crash indicating that 'CPU 1 temperature has exceeded the shutdown threshold.' No other hardware errors were logged at that time. What is the MOST likely cause of this system crash?

  • A failing power supply unit (PSU)

  • A faulty memory module

  • Corrupted system files

  • CPU overheating

Question 13 of 20

A systems administrator is selecting hot-swap drives for a mission-critical OLTP server. The requirements are:

  • Sustained throughput of at least 10 Gb/s per drive
  • Dual-ported drives so the OS can use multipath I/O across redundant HBAs
  • Compatibility with the server's 12 Gb/s four-lane backplane that connects to a PCIe storage HBA

Which drive interface type will satisfy all of these requirements?

  • USB 3.2 Gen 2 (10 Gb/s) external/removable SSD

  • 12 Gb/s Serial Attached SCSI (SAS-3)

  • Serial ATA III 6 Gb/s (SATA 6G)

  • SDXC UHS-II flash memory card

Question 14 of 20

A server that hosts a write-intensive SQL database uses eight 10 K RPM SAS disks on a hardware RAID controller with 1 GB of battery-backed cache. According to the build book, the volume should deliver the highest possible write throughput while still surviving the loss of one disk in each mirrored pair. After a recent controller replacement and array rebuild, administrators notice that large batch inserts now take three times longer and the controller dashboard shows constant parity-calculation activity. The logical drive is currently defined as RAID 50 with a 256 KB stripe size. Which change would BEST correct the improper RAID configuration and restore the expected write performance without sacrificing fault tolerance?

  • Convert the array to RAID 6 and add a global hot spare.

  • Keep RAID 50 but reduce the stripe size from 256 KB to 32 KB.

  • Recreate the logical drive as RAID 10 across all eight disks.

  • Enable read-ahead caching on the controller and retain the current RAID 50 layout.

Question 15 of 20

A systems administrator is contributing to the design of a new data center that will house business-critical servers. The key requirements for fire protection are to extinguish a fire rapidly, cause no damage to the sensitive electronic equipment, and pose no harm to personnel. Which of the following fire suppression systems BEST meets all of these requirements?

  • Pre-action sprinkler system

  • Clean agent suppression system

  • Wet pipe sprinkler system

  • Carbon dioxide (CO2) suppression system

Question 16 of 20

A financial services company is decommissioning several servers that were used to process and store sensitive customer data. The company's IT staff is small and fully committed to a critical cloud migration project. Management's primary concern is ensuring a fully compliant and auditable disposal of the assets, including guaranteed data destruction, to avoid regulatory penalties and reputational damage. Which of the following is the MOST significant advantage of using an external, certified electronics recycling vendor in this scenario?

  • It enables the company to salvage and repurpose viable server components for use in development labs or other non-production environments.

  • It allows the internal IT staff to remain focused on the high-priority cloud migration project without being diverted to decommissioning tasks.

  • It provides a certificate of destruction and a clear chain of custody, which transfers liability and ensures regulatory compliance.

  • It lowers the total out-of-pocket cost associated with asset disposal compared to using internal resources for the same tasks.

Question 17 of 20

A CentOS file server also hosts an internal web application from /var/www/html. A junior administrator recently copied user-supplied files into that directory with the command cp -a /home/upload/*.pdf /var/www/html/. Immediately afterward, the application began returning HTTP 403 Forbidden when those PDFs are requested. The Apache error log shows "Permission denied," and /var/log/audit/audit.log contains AVC messages in which httpd_t is denied read access to objects labeled user_home_t. No traditional POSIX permissions were changed.

Which action should you take first to restore user access while keeping SELinux protections in place?

  • Recursively change ownership of the files to apache:apache and set permissions to 755.

  • Temporarily disable SELinux enforcement with setenforce 0, verify access, and re-enable it after testing.

  • Add Require all granted to the Apache virtual-host configuration and reload the httpd service.

  • Run restorecon -R /var/www/html to reset the files and directories to their default SELinux contexts.

Question 18 of 20

A systems administrator installs two newer-stepping Intel Xeon processors in a three-year-old dual-socket rack server. When the system is powered on, POST halts with the message:

"Unsupported processor detected - BIOS does not contain required microcode for installed CPU. System halted."

An identical pair of processors works normally in a newer chassis of the same server model. Which action is the MOST appropriate first step to bring the upgraded server online?

  • Download and apply the latest BIOS/UEFI firmware package from the server vendor.

  • Replace the power supply with a higher-wattage unit that provides a larger 12 V rail.

  • Increase the CPU core voltage in the firmware setup utility to match the new processors' specification.

  • Clear the motherboard's CMOS to reset all firmware settings to their factory defaults.

Question 19 of 20

A server administrator is leading a decommissioning project for 20 servers being removed from a data center. The servers have been powered down and disconnected. The administrator must now address the associated power cables that run from the rack's Power Distribution Units (PDUs) to the decommissioned hardware. Which of the following is the BEST practice for power cable remediation in this scenario?

  • Leave the power cables connected to the PDU, coil them neatly, and secure them inside the rack for future use.

  • Tag the power cables at both ends as 'abandoned' and disconnect them only from the server.

  • Cut the server-end connectors off the power cables and leave the remaining cable in the rack.

  • Completely remove the power cables from the PDU to the server and recycle them.

Question 20 of 20

During a bare-metal installation of Windows Server 2022 on a new rack server, Setup shows only 2 TB of a 4 TB SAS drive as available for the system volume and leaves the rest of the space unusable. The server is shipped with legacy BIOS firmware enabled by default, but it also supports UEFI mode. You must be able to boot from this same 4 TB disk and make its full capacity available to the operating system. Which preparatory action will achieve this goal before rerunning the installation?

  • Change the server firmware to UEFI mode and initialize the drive with a GPT partition table before starting Windows Setup.

  • Create the system volume as a dynamic MBR disk during Setup and extend it past 2 TB once Windows is running.

  • Enable NTFS compression during installation so the 4 TB drive can be addressed as a single 2 TB-equivalent partition.

  • Keep the firmware in BIOS mode and re-format the partition as ReFS after installation to unlock the extra space.