nerdexam
CompTIA

CV0-002 · Question #16

A cloud service provider wants to offer hardened virtual server images for provisioning purposes. This will enable users to use only the operating system services that are allowed by the provider…

The correct answer is A. Disable automatic updates. C. Disable unneeded ports and services. Hardening virtual server images to enforce specific allowed operating system services involves reducing the attack surface and maintaining strict control over the system's state.

Security

Question

A cloud service provider wants to offer hardened virtual server images for provisioning purposes. This will enable users to use only the operating system services that are allowed by the provider. Which of the following tasks are MOST appropriate for the hardening process? (Select TWO).

Options

  • ADisable automatic updates.
  • BDisable the command prompt.
  • CDisable unneeded ports and services.
  • DDisable the local administrator account.
  • EDisable the remote desktop connection.
  • FDisable complex passwords.

How the community answered

(54 responses)
  • A
    81% (44)
  • B
    2% (1)
  • D
    2% (1)
  • E
    9% (5)
  • F
    6% (3)

Why each option

Hardening virtual server images to enforce specific allowed operating system services involves reducing the attack surface and maintaining strict control over the system's state.

ADisable automatic updates.Correct

Disabling automatic updates allows the cloud service provider to manually control when and which updates are applied, ensuring that any changes to the image maintain the hardened state and adhere to the policy of only allowing specific operating system services.

BDisable the command prompt.

Disabling the command prompt is an extreme measure that might prevent even legitimate use of the allowed operating system services, potentially hindering functionality rather than just hardening.

CDisable unneeded ports and services.Correct

Disabling unneeded ports and services directly reduces the attack surface and ensures that only the operating system services explicitly allowed by the provider are active and accessible on the hardened virtual server image.

DDisable the local administrator account.

While disabling or securing the local administrator account is a good security practice, it pertains more to account management and authentication rather than directly controlling which operating system services are allowed.

EDisable the remote desktop connection.

Disabling remote desktop connection (or SSH) restricts access but might be overly restrictive for users needing interactive access to the allowed operating system services.

FDisable complex passwords.

Disabling complex passwords would weaken the security posture of the image, which is contrary to the goal of hardening.

Concept tested: Virtual machine image hardening best practices

Source: https://learn.microsoft.com/en-us/azure/security/fundamentals/hardened-virtual-machine-images

Topics

#OS hardening#security best practices#image management#service disabling

Community Discussion

No community discussion yet for this question.

Full CV0-002 Practice