AZ-104 exam dumps

AZ-104 practice question 171 of 289

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

AZ-104 Question 171

Select 2

You are an Azure Administrator for a manufacturing company that wants to host a .NET Core web application in Azure. The application must run on Windows, be updated via a GitHub repository, use a custom domain, provide a staging environment for pre-production testing, and scale automatically based on CPU usage. Which two actions should you perform to meet these requirements?

  1. A

    Create an Azure Web App for Windows, enable GitHub Actions for continuous deployment, and configure a staging deployment slot.

  2. B

    Create a Linux-based App Service, and push your code via local Git from your developer workstation.

  3. C

    Configure the custom domain in the Networking blade by adding a new inbound IP rule.

  4. D

    Set the App Service plan to Basic tier and enable a manual scale out rule to handle peak traffic.

  5. E

    Provision a Standard tier or higher App Service plan, attach a custom domain in the Custom domains blade, and configure autoscaling based on CPU usage.

Show answer and explanation

Correct answers: A, E

Explanation

To meet the requirements, you need a Windows-based App Service (for .NET Core on Windows), continuous deployment from GitHub, a staging slot for pre-production, a custom domain, and autoscaling. Options 1 and 5 together satisfy these requirements by providing the correct hosting OS, continuous integration setup, deployment slot, custom domain configuration, and CPU-based autoscaling through the Standard tier.

  • A. Correct.

    Option 1 is correct because it sets up a Windows-based Azure Web App, integrates with GitHub for continuous deployment, and provides a staging slot for pre-production testing, matching key requirements.

  • B. Incorrect.

    Option 2 is incorrect because it uses a Linux-based App Service instead of Windows, which does not meet the stated Windows hosting requirement.

  • C. Incorrect.

    Option 3 is incorrect because custom domains are configured in the Custom domains blade (under Settings), not by adding an IP rule in the Networking blade.

  • D. Incorrect.

    Option 4 is incorrect because a Basic tier App Service plan does not support autoscaling. You need at least the Standard tier for that functionality.

  • E. Correct.

    Option 5 is correct because a Standard tier or higher plan allows attaching custom domains, configuring autoscaling based on CPU usage, and using staging environments.

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