Microsoft Designing Azure Infrastructure Solutions AZ-305 Dumps in PDF

Free Microsoft AZ-305 Real Questions (page: 2)


Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a research company that has a main office in Montreal.
Existing Environment: Technical Environment
The on-premises network contains a single Active Directory domain named contoso.com.
Contoso has a single Azure subscription.
Existing Environment: Business Partnerships
Contoso has a business partnership with Fabrikam, Inc. Fabrikam users access some Contoso applications over the internet by using Microsoft Entra ID guest accounts.
Requirements: Planned Changes
Contoso plans to deploy two applications named App1 and App2 to Azure.
Requirements: App1
App1 will be a Python web app hosted in Azure App Service that requires a Linux runtime. Users from Contoso and Fabrikam will access App1.
App1 will access several services that require third-party credentials and access strings. The credentials and access strings are stored in Azure Key Vault.
App1 will have six instances: three in the East US Azure region and three in the West Europe Azure region.
App1 has the following data requirements:
-Each instance will write data to a data store in the same availability zone as the instance.
-Data written by any App1 instance must be visible to all App1 instances.
App1 will only be accessible from the internet. App1 has the following connection requirements:
-Connections to App1 must pass through a web application firewall (WAF).
-Connections to App1 must be active-active load balanced between instances.
-All connections to App1 from North America must be directed to the East US region. All other connections must be directed to the West Europe region.
Every hour, you will run a maintenance task by invoking a PowerShell script that copies files from all the App1 instances. The PowerShell script will run from a central location.
Requirements: App2
App2 will be a .NET app hosted in App Service that requires a Windows runtime. App2 has the following file storage requirements:
-Save files to an Azure Storage account.
-Replicate files to an on-premises location.
-Ensure that on-premises clients can read the files over the LAN by using the SMB protocol.
You need to monitor App2 to analyze how long it takes to perform different transactions within the application. The solution must not require changes to the application code.
Application Development Requirements
Application developers will constantly develop new versions of App1 and App2. The development process must meet the following requirements:
-A staging instance of a new application version must be deployed to the application host before the new version is used in production.
-After testing the new version, the staging version of the application will replace the production version.
-The switch to the new application version from staging to production must occur without any downtime of the application.
Identity Requirements
Contoso identifies the following requirements for managing Fabrikam access to resources:
-Every month, an account manager at Fabrikam must review which Fabrikam users have access permissions to App1. Accounts that no longer need permissions must be removed as guests.
-The solution must minimize development effort.
Security Requirement
All secrets used by Azure services must be stored in Azure Key Vault.
Services that require credentials must have the credentials tied to the service instance. The credentials must NOT be shared between services.

You have an Azure subscription that contains a third-party app service app named App1. App1 uses Microsoft Entra for authentication and is licensed on a per-user basis.
The owners of App1 report that the licensing costs for App1 are higher than expected.
You need to recommend a solution that will enable the App1 owners to monitor which users have access to App1 each month. The solution must meet the following requirements:
● Follow the principle of least privilege.
● Minimize administrative effort.
What should you include in the recommendation?

  1. Conditional Access policies
  2. Privileged Identity Management (PIM)
  3. access reviews
  4. managed identities

Answer(s): C

Explanation:

Access reviews in Microsoft Entra ID, part of Microsoft Entra, enable organizations to efficiently manage group memberships, access to enterprise applications, and role assignments. User access can be reviewed regularly to make sure only the right people have continued access.


Reference:

https://learn.microsoft.com/en-us/entra/id-governance/access-reviews-overview




Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a research company that has a main office in Montreal.
Existing Environment: Technical Environment
The on-premises network contains a single Active Directory domain named contoso.com.
Contoso has a single Azure subscription.
Existing Environment: Business Partnerships
Contoso has a business partnership with Fabrikam, Inc. Fabrikam users access some Contoso applications over the internet by using Microsoft Entra ID guest accounts.
Requirements: Planned Changes
Contoso plans to deploy two applications named App1 and App2 to Azure.
Requirements: App1
App1 will be a Python web app hosted in Azure App Service that requires a Linux runtime. Users from Contoso and Fabrikam will access App1.
App1 will access several services that require third-party credentials and access strings. The credentials and access strings are stored in Azure Key Vault.
App1 will have six instances: three in the East US Azure region and three in the West Europe Azure region.
App1 has the following data requirements:
-Each instance will write data to a data store in the same availability zone as the instance.
-Data written by any App1 instance must be visible to all App1 instances.
App1 will only be accessible from the internet. App1 has the following connection requirements:
-Connections to App1 must pass through a web application firewall (WAF).
-Connections to App1 must be active-active load balanced between instances.
-All connections to App1 from North America must be directed to the East US region. All other connections must be directed to the West Europe region.
Every hour, you will run a maintenance task by invoking a PowerShell script that copies files from all the App1 instances. The PowerShell script will run from a central location.
Requirements: App2
App2 will be a .NET app hosted in App Service that requires a Windows runtime. App2 has the following file storage requirements:
-Save files to an Azure Storage account.
-Replicate files to an on-premises location.
-Ensure that on-premises clients can read the files over the LAN by using the SMB protocol.
You need to monitor App2 to analyze how long it takes to perform different transactions within the application. The solution must not require changes to the application code.
Application Development Requirements
Application developers will constantly develop new versions of App1 and App2. The development process must meet the following requirements:
-A staging instance of a new application version must be deployed to the application host before the new version is used in production.
-After testing the new version, the staging version of the application will replace the production version.
-The switch to the new application version from staging to production must occur without any downtime of the application.
Identity Requirements
Contoso identifies the following requirements for managing Fabrikam access to resources:
-Every month, an account manager at Fabrikam must review which Fabrikam users have access permissions to App1. Accounts that no longer need permissions must be removed as guests.
-The solution must minimize development effort.
Security Requirement
All secrets used by Azure services must be stored in Azure Key Vault.
Services that require credentials must have the credentials tied to the service instance. The credentials must NOT be shared between services.

HOTSPOT (Drag and Drop is not supported)
You plan to develop two apps that will be hosted in Azure. The apps must meet the monitoring requirements shown in the following table.

What should you include in the recommendation for each app? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Log Analytics
App1
Measure user experience
Analyze user behavior
Log Analytics can be used to monitor an Azure app to measure user experience and analyze user behavior. By leveraging Azure Monitor Logs and Log Analytics, you can collect and analyze data related to user interactions, performance, and overall app health, providing insights into user behavior and experience.
User Behavior Analysis:
Log Analytics can be used to analyze user interactions, such as page views, button clicks, and form submissions, to understand how users are interacting with your application.
Example: You can use Log Analytics to analyze the number of failed requests to your Azure app, identify the specific error codes associated with these failures, and correlate them with user behavior to determine the impact on user experience.
Box 2: Azure Monitor Application Insights
App2
Collect usage information about request rates
Collect usage information about failure rates
Collect and analyze telemetry
Azure Application Insights, part of Azure Monitor, is used to collect and analyze telemetry data from applications, including request rates, failure rates, and other performance metrics. This data helps you monitor application health, identify performance issues, and troubleshoot errors.
1. Enabling Application Insights:
Autoinstrumentation:
If your application is supported, you can enable telemetry collection with minimal configuration through autoinstrumentation.
Manual Instrumentation:
You can manually instrument your application by using the Application Insights SDK or OpenTelemetry API. This allows for more control over the data collected.
2. Tracking Metrics:
Standard Metrics:
Application Insights automatically tracks predefined metrics, including request rates, response times, error rates, and page load times.
Log-based Metrics:
You can create log-based metrics by querying log data, which retains all properties of each log entry, allowing for more flexible analysis.
Custom Metrics:
You can define and track custom
3. Analyzing Telemetry Data:
Failure Rate Analysis:
Application Insights provides tools to analyze failure rate trends, identify top response codes and exception types, and diagnose errors in your application.


Reference:

https://learn.microsoft.com/en-us/azure/azure-monitor/app/usage https://learn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview




Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a research company that has a main office in Montreal.
Existing Environment: Technical Environment
The on-premises network contains a single Active Directory domain named contoso.com.
Contoso has a single Azure subscription.
Existing Environment: Business Partnerships
Contoso has a business partnership with Fabrikam, Inc. Fabrikam users access some Contoso applications over the internet by using Microsoft Entra ID guest accounts.
Requirements: Planned Changes
Contoso plans to deploy two applications named App1 and App2 to Azure.
Requirements: App1
App1 will be a Python web app hosted in Azure App Service that requires a Linux runtime. Users from Contoso and Fabrikam will access App1.
App1 will access several services that require third-party credentials and access strings. The credentials and access strings are stored in Azure Key Vault.
App1 will have six instances: three in the East US Azure region and three in the West Europe Azure region.
App1 has the following data requirements:
-Each instance will write data to a data store in the same availability zone as the instance.
-Data written by any App1 instance must be visible to all App1 instances.
App1 will only be accessible from the internet. App1 has the following connection requirements:
-Connections to App1 must pass through a web application firewall (WAF).
-Connections to App1 must be active-active load balanced between instances.
-All connections to App1 from North America must be directed to the East US region. All other connections must be directed to the West Europe region.
Every hour, you will run a maintenance task by invoking a PowerShell script that copies files from all the App1 instances. The PowerShell script will run from a central location.
Requirements: App2
App2 will be a .NET app hosted in App Service that requires a Windows runtime. App2 has the following file storage requirements:
-Save files to an Azure Storage account.
-Replicate files to an on-premises location.
-Ensure that on-premises clients can read the files over the LAN by using the SMB protocol.
You need to monitor App2 to analyze how long it takes to perform different transactions within the application. The solution must not require changes to the application code.
Application Development Requirements
Application developers will constantly develop new versions of App1 and App2. The development process must meet the following requirements:
-A staging instance of a new application version must be deployed to the application host before the new version is used in production.
-After testing the new version, the staging version of the application will replace the production version.
-The switch to the new application version from staging to production must occur without any downtime of the application.
Identity Requirements
Contoso identifies the following requirements for managing Fabrikam access to resources:
-Every month, an account manager at Fabrikam must review which Fabrikam users have access permissions to App1. Accounts that no longer need permissions must be removed as guests.
-The solution must minimize development effort.
Security Requirement
All secrets used by Azure services must be stored in Azure Key Vault.
Services that require credentials must have the credentials tied to the service instance. The credentials must NOT be shared between services.

HOTSPOT (Drag and Drop is not supported)
You plan to deploy an Azure web app named App1 that will use Microsoft Entra ID authentication.
App1 will be accessed from the internet by the users at your company. All the users have computers that run Windows 10 and are joined to Microsoft Entra ID.
You need to recommend a solution to ensure that the users can connect to App1 without being prompted for authentication and can access App1 only from company-owned computers.
What should you recommend for each requirement? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: A Microsoft Entra app registration
Microsoft Entra ID provides cloud based directory and identity management services. You can use Microsoft Entra ID to manage users of your application and authenticate access to your applications using Microsoft Entra ID.
You register your application with Microsoft Entra tenant.
Box 2: A conditional access policy
Conditional Access policies at their simplest are if-then statements, if a user wants to access a resource, then they must complete an action.
By using Conditional Access policies, you can apply the right access controls when needed to keep your organization secure and stay out of your user's way when not needed.


Reference:

https://codingcanvas.com/using-azure-active-directory-authentication-in-your-web-application/
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/overview




Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a research company that has a main office in Montreal.
Existing Environment: Technical Environment
The on-premises network contains a single Active Directory domain named contoso.com.
Contoso has a single Azure subscription.
Existing Environment: Business Partnerships
Contoso has a business partnership with Fabrikam, Inc. Fabrikam users access some Contoso applications over the internet by using Microsoft Entra ID guest accounts.
Requirements: Planned Changes
Contoso plans to deploy two applications named App1 and App2 to Azure.
Requirements: App1
App1 will be a Python web app hosted in Azure App Service that requires a Linux runtime. Users from Contoso and Fabrikam will access App1.
App1 will access several services that require third-party credentials and access strings. The credentials and access strings are stored in Azure Key Vault.
App1 will have six instances: three in the East US Azure region and three in the West Europe Azure region.
App1 has the following data requirements:
-Each instance will write data to a data store in the same availability zone as the instance.
-Data written by any App1 instance must be visible to all App1 instances.
App1 will only be accessible from the internet. App1 has the following connection requirements:
-Connections to App1 must pass through a web application firewall (WAF).
-Connections to App1 must be active-active load balanced between instances.
-All connections to App1 from North America must be directed to the East US region. All other connections must be directed to the West Europe region.
Every hour, you will run a maintenance task by invoking a PowerShell script that copies files from all the App1 instances. The PowerShell script will run from a central location.
Requirements: App2
App2 will be a .NET app hosted in App Service that requires a Windows runtime. App2 has the following file storage requirements:
-Save files to an Azure Storage account.
-Replicate files to an on-premises location.
-Ensure that on-premises clients can read the files over the LAN by using the SMB protocol.
You need to monitor App2 to analyze how long it takes to perform different transactions within the application. The solution must not require changes to the application code.
Application Development Requirements
Application developers will constantly develop new versions of App1 and App2. The development process must meet the following requirements:
-A staging instance of a new application version must be deployed to the application host before the new version is used in production.
-After testing the new version, the staging version of the application will replace the production version.
-The switch to the new application version from staging to production must occur without any downtime of the application.
Identity Requirements
Contoso identifies the following requirements for managing Fabrikam access to resources:
-Every month, an account manager at Fabrikam must review which Fabrikam users have access permissions to App1. Accounts that no longer need permissions must be removed as guests.
-The solution must minimize development effort.
Security Requirement
All secrets used by Azure services must be stored in Azure Key Vault.
Services that require credentials must have the credentials tied to the service instance. The credentials must NOT be shared between services.

DRAG DROP (Drag and Drop is not supported)
You have 15 on-premises Hyper-V virtual machines.
You have an Azure subscription that contains an Azure Migrate project named Project1.
You need to assess the virtual machines for migration to Azure by using Project1.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Step 1: Download the VHD of the Azure Migrate appliance
Azure Migrate, Assessment overview (migrate to Azure VMs)
Set up the appliance
Azure Migrate uses a lightweight Azure Migrate appliance. The appliance performs server discovery and sends server configuration and performance metadata to Azure Migrate. The appliance can be set up by deploying a VHD file that can be downloaded from the project.
Step 2: Create an appliance virtual machine.
Create an appliance
Import the downloaded file, and create an appliance.
Step 3: Configure the virtual machine for the appliance
Configure the appliance
Set up the appliance for the first time.
1. In Hyper-V Manager > Virtual Machines, right-click the appliance > Connect.
2. Provide the language, time zone, and password for the appliance.
3. Open a browser on any machine that can connect to the appliance, and open the URL of the appliance web app: https://appliance name or IP address: 44368.
Alternately, you can open the app from the appliance desktop by selecting the app shortcut.
4. Accept the license terms, and read the third-party information.
Set up prerequisites and register the appliance
In the configuration manager, select Set up prerequisites, and then complete these
1. Connectivity: The appliance checks that the server has internet access.
2. Time sync: Check that the time on the appliance is in sync with internet time for discovery to work properly.
Step 4: Register the virtual machine for the appliance
3. Install updates and register appliance: To run auto-update and register the appliance, follow these steps:

To register the appliance, you need to select Login. In Continue with Azure Login, select Copy code & Login to copy the device code (you must have a device code to authenticate with Azure) and open an Azure Login prompt in a new browser tab. Make sure you've disabled the pop-up blocker in the browser to see the prompt.
After the appliance is successfully registered, to see the registration details, select View details.


Reference:

https://learn.microsoft.com/en-us/azure/migrate/tutorial-discover-hyper-v




Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a research company that has a main office in Montreal.
Existing Environment: Technical Environment
The on-premises network contains a single Active Directory domain named contoso.com.
Contoso has a single Azure subscription.
Existing Environment: Business Partnerships
Contoso has a business partnership with Fabrikam, Inc. Fabrikam users access some Contoso applications over the internet by using Microsoft Entra ID guest accounts.
Requirements: Planned Changes
Contoso plans to deploy two applications named App1 and App2 to Azure.
Requirements: App1
App1 will be a Python web app hosted in Azure App Service that requires a Linux runtime. Users from Contoso and Fabrikam will access App1.
App1 will access several services that require third-party credentials and access strings. The credentials and access strings are stored in Azure Key Vault.
App1 will have six instances: three in the East US Azure region and three in the West Europe Azure region.
App1 has the following data requirements:
-Each instance will write data to a data store in the same availability zone as the instance.
-Data written by any App1 instance must be visible to all App1 instances.
App1 will only be accessible from the internet. App1 has the following connection requirements:
-Connections to App1 must pass through a web application firewall (WAF).
-Connections to App1 must be active-active load balanced between instances.
-All connections to App1 from North America must be directed to the East US region. All other connections must be directed to the West Europe region.
Every hour, you will run a maintenance task by invoking a PowerShell script that copies files from all the App1 instances. The PowerShell script will run from a central location.
Requirements: App2
App2 will be a .NET app hosted in App Service that requires a Windows runtime. App2 has the following file storage requirements:
-Save files to an Azure Storage account.
-Replicate files to an on-premises location.
-Ensure that on-premises clients can read the files over the LAN by using the SMB protocol.
You need to monitor App2 to analyze how long it takes to perform different transactions within the application. The solution must not require changes to the application code.
Application Development Requirements
Application developers will constantly develop new versions of App1 and App2. The development process must meet the following requirements:
-A staging instance of a new application version must be deployed to the application host before the new version is used in production.
-After testing the new version, the staging version of the application will replace the production version.
-The switch to the new application version from staging to production must occur without any downtime of the application.
Identity Requirements
Contoso identifies the following requirements for managing Fabrikam access to resources:
-Every month, an account manager at Fabrikam must review which Fabrikam users have access permissions to App1. Accounts that no longer need permissions must be removed as guests.
-The solution must minimize development effort.
Security Requirement
All secrets used by Azure services must be stored in Azure Key Vault.
Services that require credentials must have the credentials tied to the service instance. The credentials must NOT be shared between services.

You have an Azure subscription.
You have a Microsoft Entra tenant.
You need to recommend a Microsoft Entra Identity Governance solution to manage the user lifecycle. The solution must meet the following requirements:
● Ensure that users have the correct permission for the correct resources and that the permissions are evaluated every quarter.
● If a user is assigned a new role, ensure that the correct permissions are granted for the correct resources and regularly evaluated for the new role.
● When a user leaves the company, ensure that the user’s permissions are revoked.
What should you include in the recommendation?

  1. Conditional Access
  2. Privileged Identity Management (PIM)
  3. Microsoft Entra ID Protection
  4. access reviews

Answer(s): D

Explanation:

Based on the requirements to handle user lifecycle (joiner-mover-leaver), ensure correct permissions, and conduct quarterly evaluations of those permissions, the Microsoft Entra Identity Governance solution that fits the bill best is Access Reviews.
While all components are part of the broader Identity Governance portfolio, Access Reviews specifically address the need for recurring (quarterly) evaluation of user access, role changes, and the revocation of permissions when users leave.
Here is why Access Reviews is the best fit among the options provided:
Quarterly Evaluation: Access reviews enable scheduled, automatic, or recurring (e.g., quarterly) reviews of user access to groups, applications, and roles.
Lifecycle and Mover/Leaver Support: They allow managers or resource owners to verify if a user’s current permissions (including new roles) are still needed and can automatically remove access if denied.
Role Changes & Revocation: When a user changes roles or leaves the company, access reviews can be used to audit and revoke privileges, ensuring the "least privilege" principle is maintained.
Incorrect:
[Not B]
Privileged Identity Management (PIM) focuses specifically on elevated/administrative roles (just-in-time access).
While PIM uses access reviews for privileged roles, Access Reviews (the feature) covers the broader scope of all resource permissions, not just admin roles.
[Not C]
Microsoft Entra ID Protection focuses on detecting and mitigating risk-based identity threats (e.g., impossible travel, leaked credentials). It does not manage user lifecycle or quarterly access attestation.


Reference:

https://learn.microsoft.com/en-us/entra/id-governance/scenarios/automate-identity-lifecycle




Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a research company that has a main office in Montreal.
Existing Environment: Technical Environment
The on-premises network contains a single Active Directory domain named contoso.com.
Contoso has a single Azure subscription.
Existing Environment: Business Partnerships
Contoso has a business partnership with Fabrikam, Inc. Fabrikam users access some Contoso applications over the internet by using Microsoft Entra ID guest accounts.
Requirements: Planned Changes
Contoso plans to deploy two applications named App1 and App2 to Azure.
Requirements: App1
App1 will be a Python web app hosted in Azure App Service that requires a Linux runtime. Users from Contoso and Fabrikam will access App1.
App1 will access several services that require third-party credentials and access strings. The credentials and access strings are stored in Azure Key Vault.
App1 will have six instances: three in the East US Azure region and three in the West Europe Azure region.
App1 has the following data requirements:
-Each instance will write data to a data store in the same availability zone as the instance.
-Data written by any App1 instance must be visible to all App1 instances.
App1 will only be accessible from the internet. App1 has the following connection requirements:
-Connections to App1 must pass through a web application firewall (WAF).
-Connections to App1 must be active-active load balanced between instances.
-All connections to App1 from North America must be directed to the East US region. All other connections must be directed to the West Europe region.
Every hour, you will run a maintenance task by invoking a PowerShell script that copies files from all the App1 instances. The PowerShell script will run from a central location.
Requirements: App2
App2 will be a .NET app hosted in App Service that requires a Windows runtime. App2 has the following file storage requirements:
-Save files to an Azure Storage account.
-Replicate files to an on-premises location.
-Ensure that on-premises clients can read the files over the LAN by using the SMB protocol.
You need to monitor App2 to analyze how long it takes to perform different transactions within the application. The solution must not require changes to the application code.
Application Development Requirements
Application developers will constantly develop new versions of App1 and App2. The development process must meet the following requirements:
-A staging instance of a new application version must be deployed to the application host before the new version is used in production.
-After testing the new version, the staging version of the application will replace the production version.
-The switch to the new application version from staging to production must occur without any downtime of the application.
Identity Requirements
Contoso identifies the following requirements for managing Fabrikam access to resources:
-Every month, an account manager at Fabrikam must review which Fabrikam users have access permissions to App1. Accounts that no longer need permissions must be removed as guests.
-The solution must minimize development effort.
Security Requirement
All secrets used by Azure services must be stored in Azure Key Vault.
Services that require credentials must have the credentials tied to the service instance. The credentials must NOT be shared between services.

HOTSPOT (Drag and Drop is not supported)
You have five Azure subscriptions as shown in the following table.

You have the resource groups shown in the following table.

You have the Azure resources shown in the following table.

You create the Azure Policy assignments shown in the following table.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Yes
Yes - The resource tagging policy assignment will be applied to KV1.
KV1 in an Azure Key Vault in RG4.
RG4 is in Subscription3.
Subscription3 is in the Finance Management group and has the tag InternalCharge: False.
The Azure Policy assignment named Resource Tagging has a scope of Finance.
Resource Tagging will be applied to KV1.
Box 2: No
No - Cost management data for the InternalCharge = True tag will include VM1.
VM1 is in RG1.
RG1 is in Subscription2.
Subscription2 has the tag InternalCharge: False.
Cost management data for the InternalCharge = True tag will NOT include VM1.
Box 3: No
No - Moving Subscription4 to the Marketing management group will cause VM2 to shut down.
The Azure Policy assignment Deny creating virtual machines has the scope Marketing.
Note:
An Azure policy with a "Deny" effect assigned to a subscription/resource group won't automatically stop running VMs; instead, it blocks new resource creation or modification (like starting/stopping/deleting) if the action violates the policy, causing failures and marking existing resources as non-compliant until remediation or policy removal. If a VM is already running and compliant, it stays running; but if someone tries to start it (a modification) and the policy says "Deny starting VMs," that action fails, and the VM stays in its current state (e.g., stopped), or if it was running and the policy applies to start/stop actions, it won't stop/start as requested.


Reference:

https://learn.microsoft.com/en-in/answers/questions/526647/azure-policy-deny-not-working




Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a research company that has a main office in Montreal.
Existing Environment: Technical Environment
The on-premises network contains a single Active Directory domain named contoso.com.
Contoso has a single Azure subscription.
Existing Environment: Business Partnerships
Contoso has a business partnership with Fabrikam, Inc. Fabrikam users access some Contoso applications over the internet by using Microsoft Entra ID guest accounts.
Requirements: Planned Changes
Contoso plans to deploy two applications named App1 and App2 to Azure.
Requirements: App1
App1 will be a Python web app hosted in Azure App Service that requires a Linux runtime. Users from Contoso and Fabrikam will access App1.
App1 will access several services that require third-party credentials and access strings. The credentials and access strings are stored in Azure Key Vault.
App1 will have six instances: three in the East US Azure region and three in the West Europe Azure region.
App1 has the following data requirements:
-Each instance will write data to a data store in the same availability zone as the instance.
-Data written by any App1 instance must be visible to all App1 instances.
App1 will only be accessible from the internet. App1 has the following connection requirements:
-Connections to App1 must pass through a web application firewall (WAF).
-Connections to App1 must be active-active load balanced between instances.
-All connections to App1 from North America must be directed to the East US region. All other connections must be directed to the West Europe region.
Every hour, you will run a maintenance task by invoking a PowerShell script that copies files from all the App1 instances. The PowerShell script will run from a central location.
Requirements: App2
App2 will be a .NET app hosted in App Service that requires a Windows runtime. App2 has the following file storage requirements:
-Save files to an Azure Storage account.
-Replicate files to an on-premises location.
-Ensure that on-premises clients can read the files over the LAN by using the SMB protocol.
You need to monitor App2 to analyze how long it takes to perform different transactions within the application. The solution must not require changes to the application code.
Application Development Requirements
Application developers will constantly develop new versions of App1 and App2. The development process must meet the following requirements:
-A staging instance of a new application version must be deployed to the application host before the new version is used in production.
-After testing the new version, the staging version of the application will replace the production version.
-The switch to the new application version from staging to production must occur without any downtime of the application.
Identity Requirements
Contoso identifies the following requirements for managing Fabrikam access to resources:
-Every month, an account manager at Fabrikam must review which Fabrikam users have access permissions to App1. Accounts that no longer need permissions must be removed as guests.
-The solution must minimize development effort.
Security Requirement
All secrets used by Azure services must be stored in Azure Key Vault.
Services that require credentials must have the credentials tied to the service instance. The credentials must NOT be shared between services.

You need to recommend a solution to generate a monthly report of all the new Azure Resource Manager (ARM) resource deployments in your Azure subscription. The solution must minimize development effort.
What should you include in the recommendation?

  1. Azure Monitor action groups
  2. Application Insights
  3. Azure Advisor
  4. Azure Log Analytics

Answer(s): D

Explanation:

Azure Log Analytics can query ARM deployment events collected from the subscription’s Activity Log. Configure a diagnostic setting to send these events to a Log Analytics workspace, then query the AzureActivity table for the reporting month. Built-in filtering, aggregation, and export capabilities minimize custom development for the report.


Reference:

https://learn.microsoft.com/en-us/azure/azure-monitor/reference/queries/azureactivity https://learn.microsoft.com/en-us/azure/azure-monitor/fundamentals/activity-log?view=vs-2017&tabs=portal-1 %2Clog-analytics%2Cportal-2




Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a research company that has a main office in Montreal.
Existing Environment: Technical Environment
The on-premises network contains a single Active Directory domain named contoso.com.
Contoso has a single Azure subscription.
Existing Environment: Business Partnerships
Contoso has a business partnership with Fabrikam, Inc. Fabrikam users access some Contoso applications over the internet by using Microsoft Entra ID guest accounts.
Requirements: Planned Changes
Contoso plans to deploy two applications named App1 and App2 to Azure.
Requirements: App1
App1 will be a Python web app hosted in Azure App Service that requires a Linux runtime. Users from Contoso and Fabrikam will access App1.
App1 will access several services that require third-party credentials and access strings. The credentials and access strings are stored in Azure Key Vault.
App1 will have six instances: three in the East US Azure region and three in the West Europe Azure region.
App1 has the following data requirements:
-Each instance will write data to a data store in the same availability zone as the instance.
-Data written by any App1 instance must be visible to all App1 instances.
App1 will only be accessible from the internet. App1 has the following connection requirements:
-Connections to App1 must pass through a web application firewall (WAF).
-Connections to App1 must be active-active load balanced between instances.
-All connections to App1 from North America must be directed to the East US region. All other connections must be directed to the West Europe region.
Every hour, you will run a maintenance task by invoking a PowerShell script that copies files from all the App1 instances. The PowerShell script will run from a central location.
Requirements: App2
App2 will be a .NET app hosted in App Service that requires a Windows runtime. App2 has the following file storage requirements:
-Save files to an Azure Storage account.
-Replicate files to an on-premises location.
-Ensure that on-premises clients can read the files over the LAN by using the SMB protocol.
You need to monitor App2 to analyze how long it takes to perform different transactions within the application. The solution must not require changes to the application code.
Application Development Requirements
Application developers will constantly develop new versions of App1 and App2. The development process must meet the following requirements:
-A staging instance of a new application version must be deployed to the application host before the new version is used in production.
-After testing the new version, the staging version of the application will replace the production version.
-The switch to the new application version from staging to production must occur without any downtime of the application.
Identity Requirements
Contoso identifies the following requirements for managing Fabrikam access to resources:
-Every month, an account manager at Fabrikam must review which Fabrikam users have access permissions to App1. Accounts that no longer need permissions must be removed as guests.
-The solution must minimize development effort.
Security Requirement
All secrets used by Azure services must be stored in Azure Key Vault.
Services that require credentials must have the credentials tied to the service instance. The credentials must NOT be shared between services.

You have an application that is used by 6,000 users to validate their vacation requests. The application manages its own credential store.
Users must enter a username and password to access the application. The application does not support identity federation.
You need to implement single sign-on (SSO) authentication by using a Microsoft Entra application registration.
Which SSO method should you use?

  1. header-based
  2. SAML
  3. password-based
  4. OpenID Connect

Answer(s): C

Explanation:

Password - On-premises applications can use a password-based method for SSO. This choice works when applications are configured for Application Proxy.
With password-based SSO, users sign in to the application with a username and password the first time they access it. After the first sign-on, Microsoft Entra ID provides the username and password to the application. Password-based SSO enables secure application password storage and replay using a web browser extension or mobile app. This option uses the existing sign-in process provided by the application, enables an administrator to manage the passwords, and doesn't require the user to know the password.
Incorrect:
Choosing an SSO method depends on how the application is configured for authentication. Cloud applications can use federation-based options, such as OpenID Connect, OAuth, and SAML.
Federation - When you set up SSO to work between multiple identity providers, it's called federation.


Reference:

https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/what-is-single-sign-on



Share your comments for Microsoft AZ-305 exam with other users:

Ž
Žarko
9/5/2023 3:35:00 AM

@t it seems like azure service bus message quesues could be the best solution

S
Santhi
1/1/2024 8:23:00 AM

passed today.40% questions were new.litwere case study,lots of new questions on afd,ratelimit,tm,lb,app gatway.got 2 set series of questions which are not present here.questions on azure cyclecloud, no.of vnet/vms required for implimentation,blueprints assignment/management group etc

T
T
7/28/2023 9:06:00 PM

this question is keep repeat : you are developing a sales application that will contain several azure cloud services and handle different components of a transaction. different cloud services will process customer orders, billing, payment, inventory, and shipping. you need to recommend a solution to enable the cloud services to asynchronously communicate transaction information by using xml messages. what should you include in the recommendation?

A
alaska
10/24/2023 5:48:00 AM

i scored 87% on the az-204 exam. thanks! i always trust

C
Chere
9/15/2023 4:21:00 AM

found it good

AI Tutor 👋 I’m here to help!