Question 1000
A RHEL 10 application insists on IPv4 socket addresses for a legacy integration. Before editing resolver configuration, the operator needs an NSS-based lookup of ONLY IPv4 results for api.example.test. Which command has that scope?
Explanation
Correct Answer
Ahostsv4 requests the IPv4 address-family results through NSS, aligning with the legacy application’s AF_INET requirement.
Incorrect Answers
Hosts can return addresses without enforcing the IPv4-only address-family constraint that the operator specified.
IPv6 interface inventory does not resolve the service hostname through the system hosts database.
Changing the DNS server is premature when the immediate task is only to inspect existing IPv4 resolution.






Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests