Comptia

SK0-005 Free Practice Questions — Page 10

Question 91

IDS alerts indicate abnormal traffic patterns are coming from a specific server in a data center that hosts sensitive data. Upon further investigation, the server administrator notices this server has been infected with a virus due to an exploit of a known vulnerability from its database software. Which of the following should the administrator perform after removing the virus to mitigate this issue from reoccurring and to maintain high availability? (Choose three.)

A. Run a vulnerability scanner on the server.
B. Repartition the hard drive that houses the database.
C. Patch the vulnerability.
D. Enable a host firewall.
E. Reformat the OS on the server.
F. Update the antivirus software.
G. Remove the database software.
H. Air gap the server from the network.
Show Answer
Correct Answer: A, C, F
Explanation:
Run a vulnerability scan to identify the exploited weakness and any other exposures, patch the database software vulnerability to prevent the same exploit, and update antivirus software to improve detection and prevention of malware reinfection. Repartitioning, reformatting, removing the database, or air-gapping the server would be disruptive and are not appropriate steps for maintaining high availability.

Question 92

An administrator is troubleshooting a failed NIC in an application server. The server uses DHCP to get all IP configurations, and the server must use a specific IP address. The administrator replaces the NIC, but then the server begins to receive a different and incorrect IP address. Which of the following will enable the server to get the proper IP address?

A. Modifying the MAC used on the DHCP reservation
B. Updating the local hosts file with the correct IP address
C. Modifying the WWNN used on the DHCP reservation
D. Updating the NIC to use the correct WWNN
Show Answer
Correct Answer: A
Explanation:
A DHCP reservation assigns a specific IP address based on the NIC’s MAC address. Replacing the NIC changes its MAC address, so the reservation must be updated to use the new NIC’s MAC. WWNN is a Fibre Channel identifier, and the hosts file does not control DHCP assignments.

Question 93

A server technician is installing application updates on a Linux server. When the technician tries to install a MySQL update, the GUI displays the following error message: AVC denial. Which of the following should the technician do for the MySQL update to install?

A. Download the update manually and run a checksum utility to verify file integrity.
B. Issue the setenforce 0 command.
C. Create a firewall rule to allow port 3306 through the firewall.
D. Issue the yum -y update mysql command.
Show Answer
Correct Answer: B
Explanation:
An AVC denial is an SELinux access-control violation. Setting SELinux to permissive mode with `setenforce 0` temporarily stops enforcing the policy, allowing the update to proceed. This is a diagnostic/workaround step; SELinux should not be left permissive as a permanent fix.

Question 94

A new application server has been configured in the cloud to provide access to all clients within the network. On-site users are able to access all resources, but remote users are reporting issues connecting to the new application. The server administrator verifies that all users are configured with the appropriate group memberships. Which of the following is most likely causing the issue?

A. Telnet connections are disabled on the server.
B. Role-based access control is misconfigured.
C. There are misconfigured firewall rules.
D. Group policies have not been applied.
Show Answer
Correct Answer: C
Explanation:
On-site users can reach the application, and group memberships are correct. Remote users’ connection attempts likely cross a firewall boundary where a rule is blocking the required traffic.

Question 95

The management team has mandated the use of data-at-rest encryption for all data. Which of the following forms of encryption best achieves this goal?

A. Drive
B. Database
C. Folder
D. File
Show Answer
Correct Answer: A
Explanation:
Drive encryption protects all data stored on the drive, regardless of file type or location, making it the broadest option for encrypting data at rest.

Question 96

A server administrator is installing a new server with multiple NICs on it. The Chief Information Officer has asked the administrator to ensure the new server will have the least amount of network downtime but a good amount of network speed. Which of the following best describes what the administrator should implement on the new server?

A. VLAN
B. vNIC
C. Link aggregation
D. Failover
Show Answer
Correct Answer: C
Explanation:
Link aggregation combines multiple NICs into one logical connection, increasing available bandwidth while providing redundancy if a link fails. This supports both network speed and reduced downtime.

Question 97

A server technician is placing a newly configured server into a corporate environment. The server will be used by members of the accounting department, who are currently assigned by the VLAN identified below: Which of the following IP address configurations should the technician assign to the new server so the members of the accounting group can access the server?

A. IP address: 172.16.25.90/24 Default gateway: 172.16.25.254
B. IP address: 172.16.25.101/16 Default gateway: 172.16.25.254
C. IP address: 172.16.25.254/24 Default gateway: 172.16.25.1
D. IP address: 172.16.26.101/24 Default gateway: 172.16.25.254
Show Answer
Correct Answer: A
Explanation:
The server should use an address in the accounting VLAN’s 172.16.25.0/24 subnet and the specified gateway, 172.16.25.254. Option A matches both and uses an address in the DHCP exclusion range, which is appropriate for a statically assigned server. B has the wrong subnet mask, C uses the gateway address as the server’s IP, and D is on a different subnet.

Question 98

Which of the following symbols is used to write a text description per line within a PowerShell script?

A. %
B. @
C. &
D. #
Show Answer
Correct Answer: D
Explanation:
In PowerShell, `#` begins a single-line comment, which can be used to add a text description on a line of a script.

Question 99

A virtual server that is hosting a legacy line-of-business application has been identified for a critical patch application. Which of the following should be performed prior to the patch?

A. Restarting the virtual server
B. Creating a snapshot
C. Creating an open virtualization format
D. Creating a copy of any important files
Show Answer
Correct Answer: B
Explanation:
Create a snapshot before applying the patch so the virtual server can be restored to its pre-patch state if the update causes problems.

Question 100

A technician is provisioning a 4TB LUN on a SAN for a Windows server. Which of the following filesystem types should be used for this server?

A. ZFS
B. FAT
C. VMFS
D. ReFS
Show Answer
Correct Answer: D
Explanation:
ReFS is a Microsoft filesystem supported by Windows Server and is suitable for large volumes such as a 4TB SAN LUN. ZFS and VMFS are intended for other platforms, while FAT is not appropriate for a volume of this size.

$19

Get all 361 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.