AZ 204 REVISION

AZ 204 REVISION

University

39 Qs

quiz-placeholder

Similar activities

TikTok Trivia

TikTok Trivia

5th Grade - Professional Development

36 Qs

IT ERA MODULE 2 - 3 (PASIMULA NG MODULE 3)

IT ERA MODULE 2 - 3 (PASIMULA NG MODULE 3)

University

35 Qs

Unit 3 Assessment

Unit 3 Assessment

9th Grade - University

36 Qs

IT 413 - Online Midterm Examination

IT 413 - Online Midterm Examination

University

40 Qs

OCC PREP III REVIEW

OCC PREP III REVIEW

KG - University

35 Qs

Quiz Komponen Komputer dan Microsoft Office

Quiz Komponen Komputer dan Microsoft Office

7th Grade - University

44 Qs

FOOD AND BEVERAGE SERVICE

FOOD AND BEVERAGE SERVICE

KG - Professional Development

35 Qs

Final Day Quiz for ICT Skill Share

Final Day Quiz for ICT Skill Share

4th Grade - Professional Development

41 Qs

AZ 204 REVISION

AZ 204 REVISION

Assessment

Quiz

Other

University

Hard

Created by

Ntombi Ngcwangu

Used 17+ times

FREE Resource

39 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

You have to develop a web application that will use Azure Cache for Redis. You have to ensure that stale keys are removed from the cache using the right techniques.Which of the following can be used for this purpose?

Choose an eviction policy

Set the right partition key

Set a key expiration value

Choose the right pricing tier

Answer explanation

explanation: For ensuring stale data is removed from the cache, you can either use an eviction policy or set a key expiration value. The Microsoft documentation mentions the following Since this is clearly mentioned in the Microsoft documentation, all other options are incorrect For more information on Azure Cache for Redis best practices, please refer to the below link https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

A company is planning on developing a web app and deploying it to Azure. It will be based on .Net Core. They are also planning on using Application Insights on gaining a deeper understanding on the usage of the Web application by users when it goes to production. They have the following requirements- They need to know if most customers are progressing through the entire process in the application, or if they are ending the process at some point.- Is page load time impacting how many people convert on my page- Analyze how many users return to your app, and how often they perform particular tasks or achieve goals.- Show how users navigate between the pages and features of your siteWhich of the following Application Insight feature would they use for the requirement“Show how users navigate between the pages and features of your site”

funnel

impact

retention

User Flows

Answer explanation

explanation: This is clearly mentioned in the documentation Since this is clearly mentioned in the documentation, all other options are incorrect For more information on Application Insights –Usage Flows feature, one can go to the below link https://docs.microsoft.com/en-us/azure/azure-monitor/app/usage-flows

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

You have developed and deployed a REST API based application to the Azure App Service. When you navigate to the URL, you are getting the errorFailed to load http://myapps.azurewebsites.net:6000/#/api/Products: No ‘Access-Control-Allow-Origin’ header is present on the request resource.Which of the following needs to be implemented to resolve this issue?

Use an SSL certificate

Enable Azure AD Authentication

Enable CORS

Use a custom domain

Answer explanation

explanation: For this we need to enable CORS This is also given as an example in the Microsoft documentation Since this is clearly given in the documentation, all other options are incorrect For more information on enabling CORS for an Azure web app, please visit the following URL https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-rest-api

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

A company is developing an API system that will be hosted behind an Azure API Management service. You have to implement response caching. Here the user ID of the client must be detected and then the response must be cached for the given 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 would you implement the policy for“A cache-store-value policy”

Inbound

Outbound

Error

Parameters

Answer explanation

explanation: An example of this is given in the Microsoft documentation as shown below Since this is clearly mentioned, all other options are incorrect For more information on how to work with the cache in API management, one can go to the below link https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-cache

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

A company is developing an API system that will be hosted behind an Azure API Management service. You have to implement response caching. Here the user ID of the client must be detected and then the response must be cached for the given 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 would you implement the policy for“A find-and-replace policy to update the response body with the user profile information”

Inbound

Outbound

Error

Parameters

Answer explanation

explanation: Since this is clearly mentioned, all other options are incorrect https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-cache-by-key

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

A company is developing an API system that will be hosted behind an Azure API Management service. You have to implement response caching. Here the user ID of the client must be detected and then the response must be cached for the given 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 would you implement the policy for“A set-variable policy to store the detected user identity”

Inbound

Outbound

Error

Parameters

Answer explanation

explanation: Here since you need to detect the User ID from the request, you need to set the variable in the Input section. An example of this is given in the Microsoft documentation Since this is clearly mentioned, all other options are incorrect For more information on an example of managing requests with API management, one can go to the below link https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-send-request

7.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

You have an Azure App Services Web App, Azure SQL Database instance, Azure Storage Account, and an Azure Redis Cache instance in a resource group.A developer must be able to publish code to the web app. You must grant the developer the Contribute role to the web app.You need to grant the role.Which two commands can you use? Each correct answer presents a complete solution.

az role assignment create

az role definition create

New-AzureRmRoleAssignment

New-AzureRmRoleDefinition

Answer explanation

explanation: az role assignment create - Create a new role assignment for a user, group, or service principal. https://docs.microsoft.com/en-us/cli/azure/role/assignment?view=azure-cli-latest#az-role-assignment-create New-AzureRmRoleAssignment - Assigns the specified RBAC role to the specified principal, at the specified scope. https://docs.microsoft.com/en-us/powershell/module/azurerm.resources/new-azurermroleassignment?view=azurermps-6.13.0

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?