Az204 exam prep quiz5

Az204 exam prep quiz5

Professional Development

47 Qs

quiz-placeholder

Similar activities

Azure Mock Exam 2

Azure Mock Exam 2

Professional Development

48 Qs

Loyalty Comprehensive Exam

Loyalty Comprehensive Exam

Professional Development

47 Qs

App Builder Reviewer 1

App Builder Reviewer 1

University - Professional Development

44 Qs

Terik's Practice Test 5

Terik's Practice Test 5

Professional Development

42 Qs

Terik's Practice Test 3

Terik's Practice Test 3

Professional Development

42 Qs

02 - Simulado AZ-900

02 - Simulado AZ-900

Professional Development

50 Qs

Exchange Revision

Exchange Revision

Professional Development

42 Qs

Sharepoint Administration Revision

Sharepoint Administration Revision

Professional Development

48 Qs

Az204 exam prep quiz5

Az204 exam prep quiz5

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Faith Muwishi

Used 4+ times

FREE Resource

47 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Your company is developing an Azure API.You need to implement authentication for the Azure API. You have the following requirements:All API calls must be secure.✑ Callers to the API must not send credentials to the API.Which authentication mechanism should you use?

Basic

Anonymous

Managed Identity

Client Certificate

Answer explanation

Use the authentication-managed-identity policy to authenticate with a backend service using the managed identity of the API Management service. This policy essentially uses the managed identity to obtain an access token from Azure Active Directory for accessing the specified resource. After successfully obtaining the token, the policy will set the value of the token in the Authorization header using the Bearer scheme.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You are a developer for a SaaS company that offers many web services.All web services for the company must meet the following requirements:✑ Use API Management to access the services✑ Use OpenID Connect for authentication✑ Prevent anonymous usageA recent security audit found that several web services can be called without any authentication.Which API Management policy should you implement?

jsonp

authentication-certificate

check-header

validate-jwt

Answer explanation

Correct Answer: D 🗳️Add the validate-jwt policy to validate the OAuth token for every incoming request.Incorrect Answers:A: The jsonp policy adds JSON with padding (JSONP) support to an operation or an API to allow cross-domain calls from JavaScript browser-based clients.JSONP is a method used in JavaScript programs to request data from a server in a different domain. JSONP bypasses the limitation enforced by most web browsers where access to web pages must be in the same domain.JSONP - Adds JSON with padding (JSONP) support to an operation or an API to allow cross-domain calls from JavaScript browser-based clients.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Contoso, Ltd. provides an API to customers by using Azure API Management (APIM). The API authorizes users with a JWT token.You must implement response caching for the APIM gateway. The caching mechanism must detect the user ID of the client that accesses data for a given location and cache the response for that user ID.You need to add the following policies to the policies file:✑ a set-variable policy to store the detected user identity✑ a cache-lookup-value policy✑ a cache-store-value policy✑ a find-and-replace policy to update the response body with the user profile informationTo which policy section should you add the policies? To answer, drag the appropriate sections to the correct policies. Each section 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.

Box 1: Inbound.

Box 2: Inbound

Box 3: Outbound

Box 4: Outbound

Box 1: Outbound.

Box 2: Inbound

Box 3: Outbound

Box 4: Outbound

Answer explanation

Media Image

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

You are developing an Azure solution.You need to develop code to access a secret stored in Azure Key Vault.How should you complete the code segment? To answer, drag the appropriate code segments to the correct location. Each code segment 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:

Box 1: ClientSecretCredential

Box 2: CloudClients

Box 1: SecretClient

Box 2: DefaultAzureCredential

Answer explanation

Media Image

5.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

You are creating an Azure key vault using PowerShell. Objects deleted from the key vault must be kept for a set period of 90 days.
Which two of the following parameters must be used in conjunction to meet the requirement? (Choose two.)

EnabledForDeployment

  • EnablePurgeProtection

  • EnabledForTemplateDeployment

  • EnableSoftDelete

Answer explanation

Answer : BD

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

You have an Azure Active Directory (Azure AD) tenant.
You want to implement multi-factor authentication by making use of a conditional access policy. The conditional access policy must be applied to all users when they access the Azure portal.
Which three settings should you configure? To answer, select the appropriate settings in the answer area.
NOTE: Each correct selection is worth one point.

Box1 :0 Users selected

Box2: 0 apps selected

Box3:(Session)0 controls selected

Box1 :0 Users selected

Box2: 0 apps selected

Box3:(Grant)0 controls selected

Box1 :0 Users selected

Box2: 0 apps selected

Box3:(Grant)0 controls selected

Answer explanation

Media Image

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You manage an Azure SQL database that allows for Azure AD authentication.
You need to make sure that database developers can connect to the SQL database via Microsoft SQL Server Management Studio (SSMS). You also need to make sure the developers use their on-premises Active Directory account for authentication. Your strategy should allow for authentication prompts to be kept to a minimum.
Which of the following should you implement?

  • A. Azure AD token.

  • B. Azure Multi-Factor authentication.

  • C. Active Directory integrated authentication.

  • D. OATH software tokens.

Answer explanation

Answer : C

Azure AD can be the initial Azure AD managed domain. Azure AD can also be an on-premises Active Directory Domain Services that is federated with the Azure
AD.
Using an Azure AD identity to connect using SSMS or SSDT
The following procedures show you how to connect to a SQL database with an Azure AD identity using SQL Server Management Studio or SQL Server Database

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?