AZ-104 exam dumps

AZ-104 practice question 180 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 180

Single answer

You are creating a new Azure Web App in the Azure portal for an internal line-of-business application. The application requires a Windows-based hosting environment and must allow scaling out to multiple instances when needed. Additionally, your organization wants to assign a custom domain to the Web App. Which of the following is the correct approach to ensure these requirements are met during the creation of the Azure Web App?

  1. A

    During creation, choose Linux as the OS, set the SKU to Free, and use the default *.azurewebsites.net domain.

  2. B

    During creation, choose Windows as the OS, set the SKU to at least Basic (B1) or higher, and configure a custom domain in the 'Custom domains' blade.

  3. C

    Use the ‘Create Resource Group’ blade to define scaling rules, then create an App Service on Linux with a Standard plan.

  4. D

    Create an App Service with Docker as the publish method, choose any OS, and scale out after deployment.

Show answer and explanation

Correct answer: B

Explanation

To meet the requirements, Windows-based hosting, the ability to scale out, and binding a custom domain, the Web App must be created on a Windows OS with at least a Basic tier. Only Basic or higher supports custom domains and allows multiple instance scaling.

  • A. Incorrect.

    Selecting Linux and the Free tier does not satisfy the requirement for a Windows-based environment or allow custom domain support.

  • B. Correct.

    Choosing Windows with a Basic or higher tier provides the necessary environment for scaling and supports custom domains.

  • C. Incorrect.

    Setting up scaling in the Resource Group blade first and then choosing a Linux-based environment does not align with the requirement for a Windows-based App Service.

  • D. Incorrect.

    Using Docker as the publish method and 'any OS' does not specifically address the Windows hosting requirement or immediate custom domain support needs.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam