FEFreeExamDumps.in

AZ-204 Practice Questions — Page 15

Question 141

Open question ↗

You develop a containerized application. You plan to deploy the application to a new Azure Container instance by using a third-party continuous integration and continuous delivery (CI/CD) utility.

The deployment must be unattended and include all application assets. The third-party utility must only be able to push and pull images from the registry. The authentication must be managed by Azure Active Directory (Azure AD). The solution must use the principle of least privilege.

You need to ensure that the third-party utility can access the registry.

Which authentication options should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Question 141

Question 142

Open question ↗

You develop a web application.

You need to register the application with an active Azure Active Directory (Azure AD) tenant.

Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.

Select and Place:

Question 142

Question 143

Open question ↗

You have a new Azure subscription. You are developing an internal website for employees to view sensitive data. The website uses Azure Active Directory (Azure

AD) for authentication.

You need to implement multifactor authentication for the website.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  • A.Configure the website to use Azure AD B2C.
  • B.In Azure AD, create a new conditional access policy.
  • C.Upgrade to Azure AD Premium.
  • D.In Azure AD, enable application proxy.
  • E.In Azure AD conditional access, enable the baseline policy.

Question 144

Open question ↗

An organization plans to deploy Azure storage services.

You need to configure shared access signature (SAS) for granting access to Azure Storage.

Which SAS types should you use? To answer, drag the appropriate SAS types to the correct requirements. Each SAS type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Select and Place:

Question 144

Question 145

Open question ↗

You have a single page application (SPA) web application that manages information based on data returned by Microsoft Graph from another company's Azure

Active Directory (Azure AD) instance.

Users must be able to authenticate and access Microsoft Graph by using their own company's Azure AD instance.

You need to configure the application manifest for the app registration.

How should you complete the manifest? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Question 145

Question 146

Open question ↗

You are developing an application to store and retrieve data in Azure Blob storage. The application will be hosted in an on-premises virtual machine (VM). The

VM is connected to Azure by using a Site-to-Site VPN gateway connection. The application is secured by using Azure Active Directory (Azure AD) credentials.

The application must be granted access to the Azure Blob storage account with a start time, expiry time, and read permissions. The Azure Blob storage account access must use the Azure AD credentials of the application to secure data access. Data access must be able to be revoked if the client application security is breached.

You need to secure the application access to Azure Blob storage.

Which security features should you use? To answer select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Question 146

Question 147

Open question ↗

You are developing an Azure Function that calls external APIs by providing an access token for the API. The access token is stored in a secret named token in an

Azure Key Vault named mykeyvault.

You need to ensure the Azure Function can access to the token. Which value should you store in the Azure Function App configuration?

  • A.KeyVault:mykeyvault;Secret:token
  • B.App:Settings:Secret:mykeyvault:token
  • C.AZUREKVCONNSTR_ https://mykeyveult.vault.ezure.net/secrets/token/
  • D.@Microsoft.KeyVault(SecretUri=https://mykeyvault.vault.azure.net/secrets/token/)

Question 148

Open question ↗

You are a developer building a web site using a web app. The web site stores configuration data in Azure App Configuration.

Access to Azure App Configuration has been configured to use the identity of the web app for authentication. Security requirements specify that no other authentication systems must be used.

You need to load configuration data from Azure App Configuration.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Question 148

Question 149

Open question ↗

You develop and deploy a web app to Azure App service. The web app allows users to authenticate by using social identity providers through the Azure B2C service. All user profile information is stored in Azure B2C.

You must update the web app to display common user properties from Azure B2C to include the following information:

• Email address

• Job title

• First name

• Last name

• Office location

You need to implement the user properties in the web app.

Which code library and API should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question 149

Question 150

Open question ↗

You develop and deploy an Azure App Service web app named App1. You create a new Azure Key Vault named Vault1. You import several API keys, passwords, certificates, and cryptographic keys into Vault1.

You need to grant App1 access to Vault1 and automatically rotate credentials. Credentials must not be stored in code.

What should you do?

  • A.Enable App Service authentication for Appl. Assign a custom RBAC role to Vault1.
  • B.Add a TLS/SSL binding to App1.
  • C.Upload a self-signed client certificate to Vault1. Update App1 to use the client certificate.
  • D.Assign a managed identity to App1.