Your company has the divisions shown in the following table.Sub1 contains an Azure App Service web app named App1. App1 uses Microsoft Entra ID for single-tenant user authentication. Users from contoso.com can authenticate to App1.You need to recommend a solution to enable users in the fabrikam.com tenant to authenticate to App1.What should you recommend?
Answer(s): C
Correct:* Use Microsoft Entra entitlement management to govern external users.* Configure Supported account types in the application registration and update the sign-in endpoint.Incorrect:* Configure a Conditional Access policy.* Configure assignments for the fabrikam.com users by using Microsoft Entra Privileged Identity Management (PIM).* Configure Microsoft Entra ID Protection.* Configure Microsoft Entra join.* Configure the Microsoft Entra provisioning service* Enable Microsoft Entra pass-through authentication and update the sign-in endpoint.Note:* Use Microsoft Entra entitlement management to govern external users.Govern access for external users in Microsoft Entra entitlement managementMicrosoft Entra entitlement management uses Microsoft Entra business-to-business (B2B) to share access so you can collaborate with people outside your organization. With Microsoft Entra B2B, external users authenticate to their home directory, but have a representation in your directory. The representation in your directory enables the user to be assigned access to your resources.* Configure Supported account types in the application registration and update the sign-in endpoint. Identity and account types for single- and multi-tenant appsYou, as a developer, can choose if your app allows only users from your Microsoft Entra tenant, any Microsoft Entra tenant, or users with personal Microsoft accounts. You can configure your app to be either single tenant or multitenant during app registration in Azure.Note: A required part of application registration in Microsoft Entra ID is your selection of supported account types. While IT Pros in administrator roles decide who can consent to apps in their tenant, you, as a developer, specify who can use your app based on account type. When a tenant doesn't allow you to register your application in Microsoft Entra ID, administrators will provide you with a way to communicate those details to them through another mechanism.You'll choose from the following supported account type options when registering your application.Accounts in this organizational directory only (O365 only - Single tenant)Accounts in any organizational directory (Any Microsoft Entra directory - Multitenant)Accounts in any organizational directory (Any Microsoft Entra directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)Personal Microsoft accounts onlyIncorrect:* Configure Microsoft Entra ID ProtectionMicrosoft Entra ID Protection allows organizations to accomplish three key tasks: Automate the detection and remediation of identity-based risks. Investigate risks using data in the portal. Export risk detection data to other tools.
https://learn.microsoft.com/en-us/azure/active-directory/governance/entitlement-management-external-users https://learn.microsoft.com/en-us/security/zero-trust/develop/identity-supported-account-types
HOTSPOT (Drag and Drop is not supported)You are designing an app that will be hosted on Azure virtual machines that run Ubuntu. The app will use a third-party email service to send email messages to users. The third-party email service requires that the app authenticate by using an API key.You need to recommend an Azure Key Vault solution for storing and accessing the API key. The solution must minimize administrative effort.What should you recommend using to store and access the key? 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: SecretTutorial: Use Key Vault references in an ASP.NET Core app.Add a secret to Key VaultTo add a secret to the vault, you need to take just a few additional steps. In this case, add a message that you can use to test Key Vault retrieval. The message is called Message, and you store the value "Hello from Key Vault" in it.1. From the Key Vault properties pages, select Secrets.2. Select Generate/Import.3. In the Create a secret pane, enter the following values:4. Upload options: Enter Manual.5. Name: Enter Message.6. Value: Enter Hello from Key Vault.7. Leave the other Create secret properties with their default values.8. Select Create.Box 2: A managed service identity (MSI)Grant your app access to Key VaultAzure App Configuration won't access your key vault. Your app will read from Key Vault directly, so you need to grant your app read access to the secrets in your key vault. This way, the secret always stays with your app. The access can be granted using either a Key Vault access policy or Azure role-based access control.You use DefaultAzureCredential in your code above. It's an aggregated token credential that automatically tries a number of credential types, like EnvironmentCredential, ManagedIdentityCredential, SharedTokenCacheCredential, and VisualStudioCredential.Alternatively, you can set the AZURE_TENANT_ID, AZURE_CLIENT_ID, and AZURE_CLIENT_SECRET environment variables, and DefaultAzureCredential will use the client secret you have via the EnvironmentCredential to authenticate with your key vault. After your app is deployed to an Azure service with managed identity enabled, such as Azure App Service, Azure Kubernetes Service, or Azure Container Instance, you grant the managed identity of the Azure service permission to access your key vault. DefaultAzureCredential automatically uses ManagedIdentityCredential when your app is running in Azure. You can use the same managed identity to authenticate with both App Configuration and Key Vault.
https://learn.microsoft.com/en-us/azure/azure-app-configuration/use-key-vault-references-dotnet-core
HOTSPOT (Drag and Drop is not supported)You have a Microsoft Entra tenant named contoso.com that contains multiple enterprise apps.Your company has a business partner that has a Microsoft Entra tenant named fabrikam.com.You need to recommend an identity governance solution that will provide users in fabrikam.com with access to the enterprise apps in contoso.com. The solution must meet the following requirements:● Ensure that administrators in fabrikam.com can provide the fabrikam.com users with access to the contoso.com enterprise apps.● Automatically provision identities for the fabrikam.com users to enable access to the contoso.com enterprise apps.● Provide policy-based management of access assignments, approvals, and expirations.● Minimize administrative effort.What should you include in the recommendation? To answer, select the appropriate options in the answer area.Note: Each correct selection is worth one point.Hot Area:
Box 1: Cross-tenant synchronizationFor identity provisioning:Cross-tenant synchronization automates creating, updating, and deleting Microsoft Entra B2B collaboration users across tenants in an organization. It enables users to access applications and collaborate across tenants, while still allowing the organization to evolve.Here are the primary goals of cross-tenant synchronization:Seamless collaboration for a multitenant organizationAutomate lifecycle management of B2B collaboration users in a multitenant organizationAutomatically remove B2B accounts when a user leaves the organizationBox 2: Entitlement managementFor access managementProvide policy-based management of access assignments, approvals, and expirations.The best solution for policy-based management of access assignments, approvals, and expiration in Azure is Microsoft Entra ID Governance Entitlement Management (formerly Azure AD Entitlement Management).Entitlement Management enables organizations to manage the lifecycle of access to groups, applications, and SharePoint sites for both internal and external users through a centralized, policy-driven approach.Entitlement management provides the most comprehensive, end-to-end automation for the specific requirements of policy-driven access assignments, approvals, and expiration.Why Entitlement Management is Best:Policy-Based Access: You can define policies that determine who can request access (e.g., all employees, specific external partners), the requestor information required, and approval workflows.Approvals: It supports multi-stage approval workflows, allowing designated sponsors or managers to approve access requests.Expiration: You can set access assignments to expire automatically on a specific date, after a set number of days, or never, forcing users to renew access if needed.Lifecycle Management: It automates access requests, assignments, and reviews (recertification).Access Packages: By grouping resources into "Access Packages," you can apply a single policy to govern the entire access lifecycle for that package.Incorrect:* Access reviewAccess Reviews is a component of Entra ID Governance that allows you to periodically review access, ensuring that access is removed if no longer necessary.* Privileged Identity Management (PIM)Privileged Identity Management (PIM) is used sed specifically for managing high-privilege administrative roles with JIT (just-in-time) access and time-bound expiration, but entitlement management is broader for general resource access.
https://learn.microsoft.com/en-us/entra/identity/multi-tenant-organizations/cross-tenant-synchronization-overvie w https://learn.microsoft.com/en-us/entra/id-governance/entitlement-management-overview
You have an Azure subscription that contains an Azure key vault named KV1.You need to ensure that you can review how and when KV1 is accessed. The solution must minimize costs.What should you use?
Answer(s): B
Azure Key Vault loggingAfter you create one or more key vaults, you'll likely want to monitor how and when your key vaults are accessed, and by whom. Enabling logging for Azure Key Vault saves this information in an Azure storage account that you provide.Azure Key Vault activity can be monitored by checking the Key Vault activity log. By enabling logging, you can track access to your secrets and other Key Vault resources, including who accessed them, when they accessed them, and the specific actions performed.
https://learn.microsoft.com/en-us/azure/key-vault/general/logging?tabs=Vault
You plan to deploy an Azure SQL database that will store Personally Identifiable Information (PII).You need to ensure that only privileged users can view the PII. All other users must still be allowed to view other columns.What should you include in the solution?
Dynamic data masking limits sensitive data exposure by masking it to non-privileged users.Dynamic data masking helps prevent unauthorized access to sensitive data by enabling customers to designate how much of the sensitive data to reveal with minimal impact on the application layer. It’s a policy-based security feature that hides the sensitive data in the result set of a query over designated database fields, while the data in the database is not changed.
https://docs.microsoft.com/en-us/azure/azure-sql/database/dynamic-data-masking-overview
Post your Comments and Discuss Microsoft AZ-305 exam prep with other Community members: