VMware Certified Professional - Data Center Virtualization (VCP-DCV) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the VCP-DCV Exam. Study with flashcards and multiple-choice questions. Each question includes hints and explanations. Ace your VMware certification!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


To view the DNS settings for an ESXi 6.x host, which of the following methods can be utilized?

  1. View the /etc/resolv.conf file on the ESXi host

  2. Use the vicfg-dns command from the vSphere Management Appliance

  3. View the /etc/dns.conf file on the ESXi host

  4. Use the vicfg-dns command on the ESXi host

The correct answer is: View the /etc/resolv.conf file on the ESXi host

The method of viewing the DNS settings for an ESXi 6.x host through the /etc/resolv.conf file is appropriate because this file contains the name server information that the host uses for DNS resolution. The /etc/resolv.conf file lists the IP addresses of DNS servers that the ESXi host queries when resolving hostnames into IP addresses. This file is part of the configuration on most Unix-like operating systems and is where you'll find relevant settings regarding DNS lookups, including the search domains and the primary DNS server. In the context of the other options, while the vicfg-dns command can interact with DNS settings, it is typically used in a different context (management from a suite or appliance) rather than directly querying the current settings of an ESXi host. The incorrect reference to /etc/dns.conf also indicates a misunderstanding, as there is no standard /etc/dns.conf file in an ESXi environment — the resolv.conf file is the correct configuration file for those settings. Thus, option A stands out as the most accurate and direct method for checking the DNS configuration on an ESXi 6.x host.