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?
Create an A record for 'www' pointing to the IP address of your App Service.
Set up Azure Traffic Manager to route 'www.example.com' to your app.
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.
What is a CNAME record and how does it work?
Open an interactive chat with Bash
Why is using an A record not recommended for Azure App Services?
Open an interactive chat with Bash
What is Azure Traffic Manager and when should I use it?
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...
IT & Cybersecurity Package Join Premium for Full Access