CompTIA certification · Exam SK0-005

SK0-005 Mock Exam Page 14

CompTIA Server+

Free SK0-005 mock exam questions 131–140, each with the answer and an explanation.

20 questions · 20 minutes · free, no sign-up

Free SK0-005 questions

131–140 of 146 free
Question 131 Choose 1
The accounting department needs more storage and wants to retain the current data for quick read-write access. The accounting server does not have any internet drive bays available to keep both disks however the server does have USB 3 0 and eSATA ports available. Which of the following is the BEST way to accomplish the department's goals?
Show answerHide answer

Correct answer: C Transfer the existing data to an external eSATA enclosure.

Explanation

Explanation

The accounting department requires additional storage while keeping the current data available for quick read and write access.
Because the server has no available internal drive bays, an external storage solution is necessary.
Among the options, an eSATA enclosure offers the best balance of performance and practicality.

eSATA connections deliver native SATA speeds with low latency, providing data transfer rates almost identical to internal drives. This makes it ideal for active workloads like accounting systems that frequently read and write data. It ensures reliable, high-speed performance without compromising accessibility.

Why the other options are not correct

Option A: Copy the existing data to an external USB 3.0 enclosure

While USB 3.0 offers respectable speeds, it still introduces higher latency and slightly slower sustained throughput compared to eSATA.
USB is generally better for backups or temporary storage, not for continuously accessed production data.
Over time, performance may degrade under heavy workloads.

Option B: Place the existing data on a DVD and use the internal DVD-ROM drive

This is not a viable solution because DVDs have extremely limited storage capacity and are too slow for routine read/write operations.
Optical media is suitable only for long-term backups or archival purposes, not for dynamic accounting data that changes frequently.

Option D: Move the existing data to a new, larger internal hard drive

Although installing a larger internal hard drive might seem ideal, the scenario states that no internal drive bays are available.
This makes the option physically impossible without removing an existing drive or restructuring the storage setup, which would disrupt operations.

Relevant Technical Concept

eSATA (External Serial ATA) extends the internal SATA interface outside the computer, maintaining full SATA speed and efficiency. It is a high-performance external storage solution ideal for servers that need expansion without sacrificing data access speed.
Question 132 Choose 1
While running a local network security scan an administrator discovers communication between clients and one of the web servers is happening in cleartext. Company policy requires all communication lo be encrypted. Which of the following ports should be closed to stop the deartext communication?
Show answerHide answer

Correct answer: C 443

Explanation

Explanation

The correct port to close to stop cleartext web communication is Port 80 (HTTP), which is the unencrypted standard for web traffic.

Correct Action: Port 80

The objective is to stop cleartext communication with the web server and force all traffic to be encrypted.
The standard protocol for cleartext (unencrypted) web communication is HTTP (Hypertext Transfer Protocol), which operates on TCP Port 80. By definition, cleartext web communication is running on this port.
To strictly enforce the company policy requiring encryption, the administrator must block or disable the service listening on Port 80 on the web server. This action prevents clients from successfully establishing an unencrypted HTTP connection. The clients will then be redirected or forced to attempt a connection using HTTPS (Port 443), which uses SSL/TLS encryption to secure the data.
Blocking this port prevents unencrypted communication attempts and forces clients to use the available secure connection, HTTPS, which runs on Port 443 and utilizes SSL/TLS encryption.

Why Other Options Are Incorrect

A. 21 (FTP)
Port 21 is for the FTP (File Transfer Protocol) command channel. While FTP is often a cleartext protocol, blocking it only prevents unencrypted file transfers. It does not address the discovered cleartext issue involving the web server.

B. 22 (SSH)
Port 22 is used by SSH (Secure Shell). This is an encrypted protocol used for secure remote command-line access. Since it is already secure, it is not the source of the cleartext problem, and blocking it would eliminate secure remote management.

C. 443 (HTTPS)
Port 443 is the port for HTTPS (HTTP Secure), which is the protocol that provides the necessary encryption using SSL/TLS. Closing this port would be entirely counterproductive as it would break all secure communication to the web server, making it impossible to comply with the encryption policy.

D. 3389 (RDP)
Port 3389 is used by the RDP (Remote Desktop Protocol) for graphical remote access to servers. This protocol is unrelated to the web server's client communication protocols (HTTP/HTTPS) and would not solve the cleartext web traffic issue.

Conclusion:
The port associated with the cleartext web communication that needs to be closed is Port 80. Since Port 80 is missing, and assuming the intent was to find a cleartext protocol from the list, A. 21 (FTP) would be the only other service listed that primarily uses cleartext. However, sticking to the context of a web server, the required port is 80.
Question 133 Choose 1
Which of the following is the most effective way to mitigate risks associated with privacy- related data leaks when sharing with a third party?
Show answerHide answer

Correct answer: B Customer data encryption and masking

Explanation

Explanation

Sharing privacy-sensitive data (such as PII, financial, or health records) with a third party introduces risks of interception, insider misuse, or breach at the recipient. The strongest mitigation transforms the data itself so that even if accessed improperly, it remains unreadable or unusable. Technical controls applied directly to the data provide proactive protection, unlike policies or agreements that rely on compliance.

Correct Answer

Customer data encryption and masking implements these technical controls:

Encryption uses algorithms like AES-256 to protect data in transit (e.g., via TLS 1.3) and at rest (e.g., encrypted databases or files). Only authorized key holders can decrypt and access the original content.
Masking (or tokenization) replaces sensitive values with anonymized substitutes (e.g., full credit card → **** **** **** 1234, SSN → XXX-XX-1234). This preserves format and utility for processing while eliminating exposure of real data.
These methods ensure the third party never receives plaintext sensitive information, rendering leaks harmless even in worst-case scenarios.

Incorrect Options

A. Third-party acceptable use policy
An AUP defines permitted uses and behaviors. It is a procedural and contractual control enforced through audits and penalties. It does not alter or protect the data itself and fails if the policy is ignored or bypassed.

C. Non-disclosure and indemnity agreements
NDAs impose legal confidentiality obligations, and indemnity covers financial liability post-breach. These are reactive legal tools that apply only after a leak occurs—not preventive measures against data exposure.

D. Service- and operational-level agreements
SLAs and OLAs govern service performance, availability, and operational duties. While they may reference security, they focus on delivery metrics, not data protection mechanisms like encryption or masking.

References:
NIST SP 800-53 Rev. 5 – SC-8 (Transmission Confidentiality), SC-28 (Protection of Information at Rest)
NIST SP 800-122 – Guide to Protecting the Confidentiality of PII
ISO/IEC 27001:2022 – A.8.24 (Cryptography), A.10.1 (Cryptographic Controls)
PCI DSS v4.0 – Requirement 3.5 (Protect Encryption Keys), Requirement 3.6 (Documented Masking Procedures)
Question 134 Choose 1
A technicianretailed a new4TBharddrive inaWindows server. Which of the following should the technician perform FIRST to provision the newdrive?
Show answerHide answer

Correct answer: D Partition the drive using OPT.

Explanation

Explanation

When installing a new hard drive, especially a large one, the first step is to initialize it with a partitioning scheme. The size of the drive (4TB) is the critical factor determining the correct choice.

Correct Option

D. Partition the drive using GPT.

GUID Partition Table (GPT) is the modern partitioning scheme required for drives larger than 2TB. A 4TB drive cannot be fully utilized by the older MBR system. GPT supports virtually unlimited partition sizes (up to 9.4 ZB) and is a prerequisite for creating volumes on large drives in modern operating systems. This must be done before any partitioning, formatting, or disk configuration can occur.

Incorrect Options

A. Configure the drive as a base disk.

Reason for Incorrectness:
A "basic disk" is the default storage type after a drive is initialized. While the technician will likely use the drive as a basic disk, this is not the first step. The drive must first be initialized with a partition style (GPT or MBR) before it can be recognized as a basic or dynamic disk.

B. Configure the drive as a dynamic disk.

Reason for Incorrectness:
A "dynamic disk" is an advanced storage type that allows for features like spanning and striping across multiple disks. This is a configuration choice made after the drive has been initialized with a partition scheme (GPT). It is not the first step and is not necessary for simply provisioning a single new drive.

C. Partition the drive using MBR.

Reason for Incorrectness:
Master Boot Record (MBR) is a legacy partitioning scheme that has a maximum addressable limit of 2TB for a single disk. If you initialize a 4TB drive with MBR, you will permanently lose access to roughly 2TB of storage space. Therefore, this is an incorrect and wasteful action for a drive of this size.

Reference:
This is a standard procedure in disk management. GPT is the required initialization method for any disk larger than 2TB to overcome the limitations of the legacy MBR system. The operating system will typically prompt the technician to choose a partition style when a new, uninitialized disk is detected.
Question 135 Choose 1
The HIDS logs on a server indicate a significant number of unauthorized access attempts via USB devices at startup. Which of the following steps should a server administrator take to BEST secure the server without limiting functionality?
Show answerHide answer

Correct answer: A Set a BIOS/UEFI password on the server.

Explanation

Explanation

Unauthorized access attempts are happening before the operating system loads, using USB devices at startup. To prevent this, access to the boot configuration must be secured. Setting a BIOS/UEFI password blocks attackers from modifying boot settings or attempting to boot from external media without authorization.

This step provides strong protection without removing USB functionality that may still be required for valid administrative tasks.

Why the Other Options Are Incorrect

Option B: Change the boot order and restrict console access

Changing the boot order alone is not sufficient because someone can still enter the firmware settings and re-enable USB booting if there is no firmware password.
Restricting console access may also interfere with legitimate local maintenance.

Option C: Configure the host OS to deny login attempts via USB

This action only works after the operating system has already booted.
The unauthorized attempts are happening at startup, which means the OS-level security will not protect against this type of attack.

Option D: Disable all the USB ports on the server

This would take away useful functionality such as keyboards, diagnostic tools, or authorized backup media.
It is an overly restrictive measure that can negatively impact server management and maintenance.

Relevant Technical Concept
Hardware-level password protection in BIOS/UEFI prevents unauthorized changes to boot devices and blocks external boot attempts before any software security can be bypassed.
Question 136 Choose 1
A systems administrator is setting up a server farm for a new company. The company has a public range of IP addresses and uses the addresses internally. Which of the following IP addresses best fits this scenario?
Show answerHide answer

Correct answer: D 216,176,128.10

Explanation

Explanation

The best-fitting IP address in this scenario is one from the public, routable address space, as the company is using these addresses both publicly and internally.

Correct Action: 216.176.128.10

The administrator is setting up a server farm using a range of public IP addresses that the company owns and uses internally.
216.176.128.10 is an example of an IP address from the public address space.
Addresses in this space are globally unique and can be directly routed across the internet.
While using public IP addresses internally is generally inefficient and discouraged (due to security concerns and address space depletion), the question specifically states the company has a public range and uses it internally.
This scenario bypasses the common use of private IP addressing.

Why Other Options Are Incorrect

A. 10.3.7.27

The address 10.3.7.27 belongs to the Class A private IP address range (10.0.0.0 to 10.255.255.255).
These addresses are specifically reserved for internal networks and cannot be routed directly over the public internet.
Therefore, they do not fit the requirement of using a "public range" of IP addresses.

B. 127.0.0.1

The address 127.0.0.1 is the well-known loopback address.
It is used by a device to communicate with itself and cannot be used for communication between different hosts, nor is it considered a public, routable address for a server farm.

C. 192.168.7.1

The address 192.168.7.1 belongs to the Class C private IP address range (192.168.0.0 to 192.168.255.255).
Like the 10.x.x.x range, this range is reserved for internal networks and is not publicly routable.

Reference:
Private IP addresses are defined in RFC 1918. Any address that falls outside of the three private ranges (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) is considered a public (globally routable) address. 216.176.128.10 is outside these private ranges.
Question 137 Choose 1
An organization recently experienced power outages. The administrator noticed the server did not have enough time to shut down properly. After the outages, the administrator had additional batteries installed in the UPS. Which of the following best describes the solution the administrator implemented?
Show answerHide answer

Correct answer: D The solution extended runtime.

Explanation

Explanation

Power outages can cause abrupt server shutdowns, leading to data corruption, file system damage, or hardware stress.
A UPS (Uninterruptible Power Supply) provides temporary battery backup during outages.
The key limitation during short outages is insufficient runtime—the duration the UPS can power the server before batteries deplete.
Adding batteries increases total capacity (measured in watt-hours or amp-hours), directly extending the time the server remains powered, allowing graceful shutdown or bridging to generator failover.

Correct Answer

Installing additional batteries in the UPS extends runtime. This is calculated as:
Runtime = (Battery Capacity in Watt-Hours) ÷ (Server Load in Watts)
For example, doubling battery capacity from 1000 Wh to 2000 Wh (at a constant 500 W load) extends runtime from 2 minutes to 4 minutes. This gives the operating system sufficient time to execute shutdown scripts, flush caches, and close applications safely. Extended runtime is a standard UPS scalability feature in modular or external battery pack designs.

Incorrect Options

A. The solution reduced shutdown time.

Shutdown time refers to how long the OS takes to power off (e.g., via shutdown -h now). Adding UPS batteries does not modify the server’s shutdown process or speed—it only provides more time before shutdown must begin.

B. The solution improved load balancing.

Load balancing distributes workloads across servers or power phases. UPS batteries support a single load during outage; they do not redistribute power across multiple systems or phases.

C. The solution increased power out.

“Power out” likely refers to output wattage capacity. Adding batteries increases energy storage (runtime), not instantaneous power delivery. The UPS inverter’s output rating remains unchanged unless the power module is upgraded.

References:
APC by Schneider Electric – UPS Battery Runtime Calculations
Eaton Power Quality – External Battery Modules (EBM) Technical Guide
IEEE 446 – Recommended Practice for Emergency and Standby Power Systems
Question 138 Choose 1
A security technician generated a public/private key pair on a server. The technician needs to copy the key pair to another server on a different subnet. Which of the following is the most secure method to copy the keys?
Show answerHide answer

Correct answer: B SCP

Explanation

Explanation

The secure transfer of cryptographic keys is critical. If these keys are intercepted, the security they provide is completely compromised. The method of transfer must ensure both confidentiality and integrity.

Correct Option

B. SCP (Secure Copy Protocol)

SCP is the most secure method among the options provided. It functions by copying files over an encrypted SSH (Secure Shell) connection. This encryption protects the contents of the key files from being read by anyone who might intercept the traffic during the transfer across the network. Using SCP ensures the keys remain confidential and intact while in transit to the server on the different subnet.

Incorrect Options

A. FTP (File Transfer Protocol)

Reason for Incorrectness:
FTP is a highly insecure protocol. It transmits all data, including usernames, passwords, and file contents, in clear text. Sending a private key via FTP would be equivalent to broadcasting it across the network, making it easily interceptable. This would completely defeat the purpose of using keys for security.

C. USB Drive

Reason for Incorrectness:
While using a USB drive creates an "air-gapped" transfer that avoids the network, it is not the most secure or practical method in this scenario. It introduces significant physical logistical challenges (the technician must physically visit both servers, which are on different subnets and likely in different locations/rooms). This process is slow, prone to human error (e.g., losing the drive), and does not scale. Furthermore, the security depends entirely on the physical control of the USB drive, which can be less reliable than a properly configured encrypted network transfer like SCP.

Reference:
This follows the fundamental security principle of protecting sensitive data in transit using strong encryption. SCP (or its modern replacement, SFTP) is the standard, accepted method for securely transferring sensitive files like cryptographic keys between systems over a network.
Question 139 Choose 1
A VLAN needs to be configured within a virtual environment for a new VM. Which of the following will ensure the VM receives a correct IP address?
Show answerHide answer

Correct answer: D A virtual switch

Explanation

Explanation

In a virtualized environment, virtual machines communicate with the network through a virtual switch, which acts like a managed switch inside the hypervisor.
When a VLAN is being configured for a VM, the virtual switch must be set to support VLAN tagging and must be connected to the appropriate physical or trunk port that carries that VLAN traffic.
Once the VM’s virtual NIC is assigned to the correct port group or VLAN ID on the virtual switch, the VM will be placed into the correct broadcast domain. This allows the VM to receive an IP address from the correct DHCP scope and properly communicate with other devices on that VLAN. Without this configuration, the VM would not be able to obtain appropriate network settings or routing.

Why the Other Options Are Incorrect

Option A: A virtual router

A router performs inter-VLAN routing, meaning it moves traffic between networks.
It does not assign VLAN tags or ensure a VM is connected to the correct VLAN for receiving the proper IP address.

Option B: A host NIC

The physical NIC of the host only provides the hypervisor with access to the physical network.
It does not handle how VLANs are configured for individual VMs or ensure proper logical network separate.

Option C: A VPN

A VPN creates secure remote access or encrypted tunnels for traffic.
It has no role in local VLAN placement or in assigning the VM an IP address on a specific internal subnet.

Option E: A vNIC

A virtual NIC is just the network adapter inside the VM. While required for network access, it does not control VLAN membership.
It must connect to a virtual switch that has the VLAN properly configured.

Relevant Technical Concept
VLAN tagging is handled at the switching layer. A virtual switch enables network segmentation and IP assignment consistency in virtual infrastructures by mirroring the functions of physical switches.
Question 140 Choose 1
A company needs to increase the security controls on its servers. An administrator is implementing MFA on all servers using cost effective techniques. Which of the following should the administrator use to satisfy the MFA requirement?
Show answerHide answer

Correct answer: B Push notifications

Explanation

Explanation

Multi-Factor Authentication (MFA) requires at least two of the following:

Something you know (password), something you have (token/device), or something you are (biometric).
The goal is to enhance server access security using cost-effective methods.
Among the options, push notifications leverage existing user smartphones (widely available) to deliver one-time approval requests via an app (e.g., Microsoft Authenticator, Google Authenticator).
This provides a “something you have” factor without requiring additional hardware, making it the most scalable and low-cost MFA solution for server logins (e.g., via RDP, SSH with PAM modules, or bastion hosts).

Correct Answer

Push notifications deliver a time-sensitive approval prompt to a registered mobile device. The user simply taps “Approve” (or enters a displayed code) after entering their password.
No hardware purchase or distribution needed.
Works over the internet or cellular data.
Integrates with identity platforms like Azure AD, AWS SSO, or open-source solutions (e.g., privacyIDEA, FreeOTP).
Supports automated enrollment via email/SMS.
This method satisfies MFA by combining password (knowledge) with device possession and approval action, all at minimal cost (typically free or subscription-based per user).

Incorrect Options

A. Biometrics
Biometrics (fingerprint, facial recognition) require specialized hardware (scanners, cameras) on every server or jump host. This is expensive to deploy and maintain, especially in server rooms without user-facing interfaces. It also raises privacy concerns and is not cost-effective for headless servers.

C. Smart cards
Smart cards require PKI certificates, card readers on each access point, and physical card issuance to all administrators. This involves high upfront costs (cards, readers, certificate management) and logistical overhead—making it far from cost-effective.

D. Physical tokens
Hardware tokens (e.g., YubiKey, RSA SecurID) must be purchased, shipped, and tracked per user. They are durable but costly (especially with loss/replacement) and less flexible than software-based push systems.

References:
NIST SP 800-63B – Digital Identity Guidelines (Authenticator Types: Push-Based Approval)
Microsoft Docs – Enable Passwordless Sign-in with Push Notifications
RFC 6238 – TOTP: Time-Based One-Time Password Algorithm (foundation for mobile authenticator apps)
Full mock exam

Sit the SK0-005 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real SK0-005 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full SK0-005 mock exam
  • 90questions per mock
  • 90 mintime limit
  • 493questions in the bank
  • Newmock on every attempt