A test server's hosts file maps only the name app01 to an old IP address; shared DNS also returns that address. Both app01 and app01.corp.example.com must temporarily resolve to a new address on this server only; which hosts-file changes are required? (Choose two.)
Choose 2 answers
Show the answer
Correct answersA. Replace the existing entry's IP address with the new addressB. Append app01.corp.example.com as an alias on that entry
AWhy this is right: Changing the entry's address redirects the existing app01 mapping to the new destination.
BWhy this is right: Explicitly adding the FQDN gives that exact name the same local address mapping.
CWhy not this: A reverse-lookup name does not create local mappings for either required hostname.
DWhy not this: A hosts-file entry cannot declare a DNS search suffix; this would merely add another name.
EWhy not this: Hosts files do not expand wildcard aliases into matching hostnames.
Update the local mapping's address and explicitly list both required names on the entry. Hosts files support multiple names for an address, but do not expand wildcard names or declare DNS search suffixes.