
AZ 204 REVISION

Quiz
•
Other
•
University
•
Hard

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
Similar Resources on Wayground
36 questions
Summit 2 (3rd edit)Unit 10

Quiz
•
University
40 questions
Famous Seconds and Famous Cats.

Quiz
•
KG - University
37 questions
AUTOCAD

Quiz
•
University
36 questions
Module 04: Configuring Group Policies

Quiz
•
University
35 questions
Examination of Introduction to Information Technology

Quiz
•
University
36 questions
ALC Book 27 Lesson 3

Quiz
•
University
40 questions
TDLR

Quiz
•
University
35 questions
POP QUIZ

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Other
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University