Microsoft Azure Administrator Associate AZ-104 Practice Question
Your company owns the domain 'contoso.com', which is managed as a public zone in Azure DNS. You have a web application running on an Azure Virtual Machine that is accessible via a public network address. You need to configure settings so that users on the internet can access the web application using 'app.contoso.com'. What should you do to accomplish this?
Create an A record in the 'contoso.com' zone mapping 'app' to the address of the virtual machine
Create an MX record in the 'contoso.com' zone pointing 'app' to the address of the virtual machine
Create an NS record in the 'contoso.com' zone for 'app' pointing to the name servers of the virtual machine
Create a CNAME record in the 'contoso.com' zone pointing 'app' to the address of the virtual machine
To allow users on the internet to access 'app.contoso.com', you need to create an A record in the 'contoso.com' zone that maps 'app' to the public IP address of the virtual machine. An A record associates a domain name with an IPv4 address, enabling clients to resolve the domain name to the address of the web application. A CNAME record cannot point directly to an IP address; it aliases one domain name to another domain name. NS records are used to delegate a subdomain to different name servers, and MX records are used for email routing. Therefore, creating an A record is the appropriate action.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an A record in DNS?
Open an interactive chat with Bash
Why can't you use a CNAME record to map to an IP address?
Open an interactive chat with Bash
When should you use an NS record in DNS?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Configure and manage virtual networking
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .