exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 5 question 2 discussion

Actual exam question from Microsoft's AZ-304
Question #: 2
Topic #: 5
[All AZ-304 Questions]

The developers at your company are building a containerized Python Django app.
You need to recommend platform to host the app. The solution must meet the following requirements:
Support autoscaling.

✑ Support continuous deployment from an Azure Container Registry.
✑ Provide built-in functionality to authenticate app users by using Azure Active Directory (Azure AD).
Which platform should you include in the recommendation?

  • A. Azure Container instances
  • B. an Azure App Service instance that uses containers
  • C. Azure Kubernetes Service (AKS)
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SongOTD
Highly Voted 3 years, 10 months ago
Not sure why the discussions are gone... but the right answer should be B, as per previous discussions
upvoted 20 times
rdemontis
3 years, 5 months ago
Yes, I think B is correct because the question says "provide built-in functionality to authenticate app users by using Azure Active Directory (Azure AD)" and AKS didn't have built-in integration with AAD. Only by a few months this feature has been provided by AKS-managed Azure Active Directory integration https://docs.microsoft.com/en-us/azure/aks/azure-ad-integration-cli https://docs.microsoft.com/en-us/azure/aks/managed-aad "Previously, users were required to create a client and server app, and required the Azure AD tenant to grant Directory Read permissions. In the new version, the AKS resource provider manages the client and server apps for you."
upvoted 1 times
...
...
BrettusMaximus
Highly Voted 3 years, 10 months ago
B: Web App for Containers CI-CD https://azure.microsoft.com/en-au/services/app-service/containers/ Authntication https://docs.microsoft.com/en-us/azure/app-service/overview-authentication-authorization#:~:text=Azure%20App%20Service%20provides%20built,end%2C%20and%20also%20Azure%20Functions.
upvoted 13 times
...
Cg007
Most Recent 1 year, 1 month ago
Selected Answer: B
Azure App Service is a fully managed platform that supports running containerized applications, and it meets all the specified requirements: Support autoscaling: Azure App Service supports autoscaling natively. You can configure it to automatically scale out or scale in based on various metrics such as CPU usage, memory usage, request queue length, etc. Support continuous deployment from an Azure Container Registry: Azure App Service has built-in integration with Azure Container Registry. You can set up continuous deployment such that new container images pushed to the registry can automatically trigger a deployment to the app service. Provide built-in functionality to authenticate app users by using Azure Active Directory (Azure AD): Azure App Service supports easy authentication and authorization setup with Azure Active Directory, without needing to write any code for it. It can be configured directly from the Azure portal.
upvoted 1 times
...
manojchavan
2 years, 11 months ago
Selected Answer: B
As per MS (https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/compute-decision-tree), they recommend using Azure App Service if you are not creating micro services. Both Azure App Service, and AKS support auto-scaling, CI/CD from Azure App Registry and built-in integration with Azure AD. Hence, I think B is the recommendation from MS for this scenario.
upvoted 1 times
...
warmnuances
3 years, 1 month ago
"authenticate app users by using Azure Active Directory" and "host containerized django app". 1)App users most likely mean AAD B2C. AAD integration for AKS is for managing AKS cluster not app users 2) Using AKS will be overkill for just a containerized app Answer is B.
upvoted 3 times
...
arun
3 years, 2 months ago
Selected Answer: B
Azure App Service provides built-in authentication and authorization capabilities.. https://docs.microsoft.com/en-us/azure/app-service/overview-authentication-authorization it supports auto scaling and CI/CD as well.
upvoted 1 times
...
Akakentavr
3 years, 3 months ago
C is the right option. Azure Kubernetes Service (AKS) can be configured to use Azure Active Directory (AD) for user authentication. In this configuration, you can log into an AKS cluster using an Azure AD authentication token https://docs.microsoft.com/en-us/azure/aks/azure-ad-integration-cli#:~:text=Azure%20Kubernetes%20Service%20(AKS)%20can,an%20Azure%20AD%20authentication%20token.
upvoted 2 times
et020421
3 years, 2 months ago
This fits the scenario requirements exactly. New feature as of 7/29/21. C is the answer.
upvoted 1 times
...
...
bacug
3 years, 3 months ago
Selected Answer: C
https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/compute-decision-tree
upvoted 1 times
...
Eitant
3 years, 4 months ago
Selected Answer: B
Correct answer
upvoted 4 times
...
subbu3071988
3 years, 7 months ago
Both B & C are correct in my view. Can someone explain why can't it be Option C- AKS over Option B?
upvoted 4 times
...
syu31svc
3 years, 7 months ago
Support autoscaling so A is out Authenticate using Azure AD https://docs.microsoft.com/en-us/azure/app-service/configure-authentication-provider-aad Answer is B
upvoted 2 times
...
poplovic
3 years, 7 months ago
B. Azure App Service for containers Here is the default recommendation from MS https://docs.microsoft.com/en-us/dotnet/architecture/modernize-with-azure-containers/modernize-existing-apps-to-cloud-optimized/choosing-azure-compute-options-for-container-based-applications ACI is for simple app App service is good for Single monolithic app Here is also an decision tree https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/compute-decision-tree
upvoted 2 times
...
az_architect
3 years, 8 months ago
Option B ricks all the requirement boxes, I will go for B.
upvoted 1 times
...
BoxGhost
3 years, 8 months ago
I would agree with B, seems like the best fit. All the requirements are mentioned on the overview page. https://azure.microsoft.com/en-gb/services/app-service/#overview React to traffic loads with Azure Autoscale and perform traffic routing and load-balancing through Azure Front Door. Use Azure Active Directory and other popular identity providers to authenticate and authorise app access. Streamline CI/CD with Git, GitHub, GitHub Actions, Atlassian Bitbucket, Azure DevOps, Docker Hub and Azure Container Registry.
upvoted 1 times
...
JimGrayham
3 years, 8 months ago
The question also requires auto scaling, thus it is recommended to use AKS. https://docs.microsoft.com/en-us/azure/container-instances/container-instances-overview
upvoted 2 times
pentium75
3 years, 8 months ago
Web App for Containers: "Take advantage of built-in auto-scaling and load balancing" https://azure.microsoft.com/en-au/services/app-service/containers/#overview
upvoted 1 times
...
...
Pinto
3 years, 9 months ago
Both B & C seem right. I think the question is missing some condition which will help to pick one option.
upvoted 1 times
...
gssd4scoder
3 years, 9 months ago
No reason why not B
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago