You are designing an Azure governance solution.All Azure resources must be easily identifiable based on the following operational information: environment, owner, department and cost center.You need to ensure that you can use the operational information when you generate reports for the Azure resources.What should you include in the solution?
Answer(s): C
You apply tags to your Azure resources, resource groups, and subscriptions to logically organize them into a taxonomy. Each tag consists of a name and a value pair.You use Azure Policy to enforce tagging rules and conventions. By creating a policy, you avoid the scenario of resources being deployed to your subscription that don't have the expected tags for your organization. Instead of manually applying tags or searching for resources that aren't compliant, you create a policy that automatically applies the needed tags during deployment.
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-policies
You have an Azure App Service web app named App1 that runs on a Windows App Service plan and is deployed as code.Users report that the webpages of App1 load slowly.You enable diagnostic logging for App1.You need to identify webpage response times by using the Azure portal. The solution must minimize administrative effort.Which logs should you review?
To identify the webpage response times while keeping administrative effort to a minimum, you should check the Web server logging (also commonly referred to as HTTP logs or W3C IIS logs).Because your application runs on a Windows App Service plan, it is hosted behind an Internet Information Services (IIS) web server. When enabled, Web server logging records raw HTTP request data using the standard W3C extended log file format.
https://learn.microsoft.com/en-us/answers/questions/5824018/slow-request-routing-with-app-service-for-contai ne
HOTSPOT (Drag and Drop is not supported)You need to design an Azure policy that will implement the following functionality:-For new resources, assign tags and values that match the tags and values of the resource group to which the resources are deployed.-For existing resources, identify whether the tags and values match the tags and values of the resource group that contains the resources.-For any non-compliant resources, trigger auto-generated remediation tasks to create missing tags and values.The solution must use the principle of least privilege.What should you include in the design? To answer, select the appropriate options in the answer area.Note: Each correct selection is worth one point.Hot Area:
Answer(s): A
Box 1: ModifyModify is used to add, update, or remove properties or tags on a subscription or resource during creation or update. A common example is updating tags on resources such as costCenter. Existing non-compliant resources can be remediated with a remediation task. A single Modify rule can have any number of operations. Policy assignments with effect set as Modify require a managed identity to do remediation.Incorrect:* The following effects are deprecated: EnforceOPAConstraint EnforceRegoPolicy* Append is used to add additional fields to the requested resource during creation or update. A common example is specifying allowed IPs for a storage resource.Append is intended for use with non-tag properties. While Append can add tags to a resource during a create or update request, it's recommended to use the Modify effect for tags instead.Box 2: A managed identity with the Contributor roleThe managed identity needs to be granted the appropriate roles required for remediating resources to grant the managed identity.Contributor - Can create and manage all types of Azure resources but can't grant access to others.Incorrect:User Access Administrator: lets you manage user access to Azure resources.
https://docs.microsoft.com/en-us/azure/governance/policy/concepts/effects https://docs.microsoft.com/en-us/azure/governance/policy/how-to/remediate-resources https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
You have 12 Azure subscriptions and three projects. Each project uses resources across multiple subscriptions.You need to use Microsoft Cost Management to monitor costs on a per project basis. The solution must minimize administrative effort.Which two components should you include in the solution? Each correct answer presents part of the solution.Note: Each correct selection is worth one point.
Answer(s): A,B
You are developing an app that will read activity logs for an Azure subscription by using Azure Functions.You need to recommend an authentication solution for Azure Functions. The solution must minimize administrative effort.What should you include in the recommendation?
Answer(s): B
Azure App Service provides built-in authentication and authorization capabilities (sometimes referred to as "Easy Auth"), so you can sign in users and access data by writing minimal or no code in your web app, RESTful API, and mobile back end, and also Azure Functions.Azure App Service provides built-in authentication and authorization capabilities (sometimes referred to as "Easy Auth"), so you can sign in users and access data by writing minimal or no code in your web app, RESTful API, and mobile back end, and also Azure Functions.* Microsoft Identity Platform* Facebook* Google* Twitter* Any OpenID Connect providerNote:A managed identity from Microsoft Entra ID allows your app to easily access other Microsoft Entra-protected resources such as Azure Key Vault. The identity is managed by the Azure platform and does not require you to provision or rotate any secrets. For more about managed identities in Microsoft Entra ID, see Managed identities for Azure resources.Your application can be granted two types of identities:A system-assigned identity is tied to your application and is deleted if your app is deleted. An app can only have one system-assigned identity.A user-assigned identity is a standalone Azure resource that can be assigned to your app. An app can have multiple user-assigned identities.
https://learn.microsoft.com/en-us/azure/app-service/overview-authentication-authorization https://learn.microsoft.com/en-us/azure/app-service/overview-managed-identity
Post your Comments and Discuss Microsoft AZ-305 exam prep with other Community members: