Question 91
AZ-204 Practice Test
AZ-204 Practice Test practice questions, page 19 of 20, with answer review and explanations.
Question 92
You plan to develop an Azure Functions app with an HTTP trigger. The app must support the following requirements: • Event-driven scaling • Ability to use custom Linux images for function execution You need to identify the app’s hosting plan and the maximum amount of time that the app function can take to respond to incoming requests. Which configuration setting values should you use? To answer, select the appropriate values in the answer area. NOTE: Each correct selection is worth one point.
Question 93
You develop a Python application for image rendering. The application uses GPU resources to optimize rendering processes. You have the following requirements: • The application must be deployed to a Linux container. • The container must be stopped when the image rendering is complete. • The solution must minimize cost. You need to deploy the application to Azure.
Question 94
You plan to develop an Azure Functions app with an Azure Blob Storage trigger. The app will be used infrequently, with a limited duration of individual executions. The app must meet the following requirements: • Event-driven scaling • Support for deployment slots • Minimize costs You need to identify the hosting plan and the maximum duration when executing the app. Which configuration setting values should you use? To answer, select the appropriate values in the answer area. NOTE: Each correct selection is worth one point.
Question 95
You are developing an ASP.NET Core app hosted in Azure App Service. The app requires custom claims to be returned from Microsoft Entra ID for user authorization. The claims must be removed when the app registration is removed. You need to include the custom claims in the user access token. What should you do?
- Require the https://graph.microsoft.com/.default scope during authentication.
- Configure the app to use the OAuth 2.0 authorization code flow.
- Implement custom middleware to retrieve role information from Azure AD.
- Add the groups to the groupMembershipClaims attribute in the app manifest.
- Add the roles to the appRoles attribute in the app manifest.