AZ-104 · Question #651
AZ-104 Question #651: Real Exam Question with Answer & Explanation
To meet the requirements of auto-scaling up to eight instances and custom domain verification while minimizing costs, the correct selections are the Standard pricing plan and a TXT record for domain verification.
Question
Hotspot Question You need to configure a new Azure App Service app named WebApp1. The solution must meet the following requirements: - WebApp1 must be able to verify a custom domain name of app.contoso.com. - WebApp1 must be able to automatically scale up to eight instances. - Costs and administrative effort must be minimized. Which pricing plan should you choose, and which type of record should you use to verify the domain? To answer, select the appropriate options in the answer area. NOTE: Each correct answer is worth one point. Answer:
Options
- __typehotspot
- variantdropdown
Explanation
To meet the requirements of auto-scaling up to eight instances and custom domain verification while minimizing costs, the correct selections are the Standard pricing plan and a TXT record for domain verification.
Approach. 1. Select 'Standard' for 'Pricing plan'. The requirement states that 'WebApp1 must be able to automatically scale up to eight instances' and 'Costs and administrative effort must be minimized'.
- The 'Free' and 'Shared' plans do not support auto-scaling or custom domains.
- The 'Basic' plan supports custom domains but only allows manual scaling up to 3 instances, which does not meet the requirement for eight instances.
- The 'Standard' plan supports custom domains, auto-scaling up to 10 instances, staging slots, and daily backups. This is the lowest-cost tier that satisfies the auto-scaling requirement for up to eight instances, thus minimizing costs while meeting technical needs. Higher tiers like Premium or Isolated would also meet the scaling requirement but would increase costs unnecessarily.
- Select 'TXT' for 'Record type'. The requirement is that 'WebApp1 must be able to verify a custom domain name of app.contoso.com'.
- When adding a custom domain to an Azure App Service, Azure requires a TXT record (e.g., 'asuid.<yourdomain>' or 'awverify.<yourdomain>') to verify domain ownership. This record typically contains a unique verification ID provided by Azure.
- While a CNAME or A record is used to map the domain to the App Service, the TXT record is specifically for verification purposes to prove you own the domain without affecting the main domain mapping immediately.
Common mistakes.
- common_mistake. Selecting 'Free', 'Shared', or 'Basic' for the pricing plan is incorrect because these tiers either do not support custom domains or do not support auto-scaling to eight instances. 'Free' and 'Shared' lack both. 'Basic' supports custom domains but only scales to 3 instances manually. Choosing 'A', 'AAAA', or 'PTR' for the record type is incorrect. 'A' records map a domain to an IPv4 address, and 'AAAA' records map to an IPv6 address; these are for mapping the domain to the app service, not verifying ownership. 'PTR' records are for reverse DNS lookups and are irrelevant for custom domain verification for an App Service. The specific requirement for verification necessitates a TXT record.
Concept tested. Azure App Service pricing tiers and their associated features (custom domains, auto-scaling capabilities). Understanding different DNS record types (A, AAAA, PTR, TXT) and their specific uses, particularly in the context of Azure custom domain verification.
Topics
Community Discussion
No community discussion yet for this question.