Microsoft Azure Administrator Associate AZ-104 Practice Question
You have an Azure App Service hosting a web application. You own the domain 'example.com' registered with a third-party provider. You want users to access your application using 'www.example.com'. What is the most appropriate action to configure this setup?
Set up Azure Traffic Manager to route 'www.example.com' to your app.
Create an A record for 'www' pointing to the IP address of your App Service.
Transfer the domain to Azure and manage it using Azure DNS Zone.
Create a CNAME record for 'www' pointing to your app's Azure Web App URL.
To enable users to access your Azure App Service using 'www.example.com', you should create a CNAME record in your DNS provider's settings that maps 'www' to your app's Azure Web App URL (e.g., 'yourapp.azurewebsites.net'). This tells DNS queries for 'www.example.com' to redirect to your Azure App Service without worrying about IP address changes. Creating an A record is not recommended because Azure App Service IP addresses are not static and can change, which could lead to downtime. Configuring Azure Traffic Manager or transferring the domain to Azure DNS are unnecessary for this requirement and add complexity without additional benefit.
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.
Why is a CNAME record preferred over an A record for Azure App Service?
Open an interactive chat with Bash
What is the purpose of Azure Traffic Manager, and why is it unnecessary here?
Open an interactive chat with Bash
What are the benefits of using Azure DNS Zone over a third-party DNS provider?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
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 .