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 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
Create an MX 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
What is the difference between A records and CNAME records?
Open an interactive chat with Bash
What are MX records used for 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...
IT & Cybersecurity Package Join Premium for Full Access