2V0-16-25 practice question 2 of 15

An administrator is tasked to configure Service Discovery in VMware Cloud Foundation (VCF) Operations for Linux Guest Operating Systems. For security reasons a non-root user needs to be used and all required steps for the Guest OS have already been completed. What are the two steps the administrator needs to take? (Choose two.)

Full set: 60 questions
Answer options
A: Activate Use Sudo in the vCenter instance.
B: Activate Service Discovery in the required VCF Operations vCenter instance. Correct answer
C: Activate Service Discovery in the required VCF Operations NSX instance.
D: Deactivate Use Sudo in the Service Discovery instance.
E: Activate Use Sudo in the Service Discovery instance. Correct answer
Correct Answer:
B. Activate Service Discovery in the required VCF Operations vCenter instance.; E. Activate Use Sudo in the Service Discovery instance.
Explanation

To enable Service Discovery for Linux virtual machines using a non-root user in VMware Aria Operations (formerly vRealize Operations, a key component of VCF Operations), the administrator must perform two key actions within the Aria Operations user interface. First, the Service Discovery feature must be activated for the specific vCenter Server cloud account that manages the target VMs. This initiates the discovery process. Second, because a non-root user is specified, the "Use Sudo" option must be enabled. This instructs the adapter to use the sudo command, allowing the configured non-root user to escalate privileges and execute the necessary scripts to discover running services within the guest OS.

Why Incorrect

A. The "Use Sudo" setting is a specific configuration within the Service Discovery section of the vCenter adapter, not a general setting on the vCenter instance itself.
C. Service Discovery is a feature of the vCenter adapter that inspects virtual machines, not a feature of the NSX adapter.
D. Deactivating "Use Sudo" is the opposite of the required action; it would prevent the non-root user from gaining the necessary privileges, causing discovery to fail.

References

1. VMware Aria Operations Documentation

"Configure Service and Application Discovery": This official guide outlines the precise steps for configuration. It states: "To activate service discovery

toggle the Service Discovery button." and "To use a non-root user for Linux virtual machines

toggle the Use Sudo button." This directly supports answers B and E.

Source: VMware Aria Operations Documentation

Section: "Configure Service and Application Discovery". (Note: Specific page numbers are not applicable to this web-based documentation format

but the section title is the direct reference).

2. VMware Aria Operations Documentation

"Prerequisites for Configuring Service Discovery": This document details the necessary guest OS preparations

including configuring the non-root user with NOPASSWD permissions in the /etc/sudoers file. The question states these steps are complete

reinforcing that the subsequent action in the UI is to enable the "Use Sudo" toggle to leverage this pre-configuration.

Source: VMware Aria Operations Documentation

Section: "Prerequisites for Configuring Service Discovery".

Scroll to Top