AZ 204 REVISION

AZ 204 REVISION

University

39 Qs

quiz-placeholder

Similar activities

Software Engineering

Software Engineering

University

38 Qs

SAN QUIZ-1

SAN QUIZ-1

University

35 Qs

Vulnerabilities in Software Components

Vulnerabilities in Software Components

University

38 Qs

ETHICS SECOND EXAM

ETHICS SECOND EXAM

University

40 Qs

Midterm Andragogy

Midterm Andragogy

University

35 Qs

Chapter 6: Infection Control Fundamentals

Chapter 6: Infection Control Fundamentals

11th Grade - Professional Development

40 Qs

MIDTERM LONG QUIZ

MIDTERM LONG QUIZ

University

36 Qs

Administrative Order 59 s. 2001 & Annex A

Administrative Order 59 s. 2001 & Annex A

University

42 Qs

AZ 204 REVISION

AZ 204 REVISION

Assessment

Quiz

Other

University

Hard

Created by

Ntombi Ngcwangu

Used 17+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?