exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 5 question 21 discussion

Actual exam question from Microsoft's AZ-204
Question #: 21
Topic #: 5
[All AZ-204 Questions]

DRAG DROP -
You develop and deploy an Azure App Service web app. The web app accesses data in an Azure SQL database.
You must update the web app to store frequently used data in a new Azure Cache for Redis Premium instance.
You need to implement the Azure Cache for Redis features.
Which feature should you implement? To answer, drag the appropriate feature to the correct requirements. Each feature 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:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://www.red-gate.com/simple-talk/development/dotnet-development/overview-of-azure-cache-for-redis/ https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
baroo1
Highly Voted 2 years, 3 months ago
This is correct! https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching If you look for the right words (related > set | high-performance > channel | recent > list) in documentation, it helps you validate this answer. Ignore the other comments as it only leads to confusion.
upvoted 22 times
...
juanckar
Highly Voted 1 year, 11 months ago
This was on the exam (July 2023). Went with proposed. Scored 917
upvoted 11 times
...
8ac3742
Most Recent 10 months ago
Create a data structure for storing collections of related items: Use a set. Sets in Redis are an unordered collection of unique strings, which makes them suitable for storing collections of related items1. Create a data structure for the most recently accessed cache items: Use a list. Lists in Redis are ordered collections of strings, which can be used to implement a Least Recently Used (LRU) cache by pushing and popping items from the list2.
upvoted 2 times
...
130nk3r5
1 year, 5 months ago
Here are the appropriate features for each requirement: Create a data structure for storing collections of related items: Set A set in Redis is an unordered collection of unique items. It is suitable for storing collections of related items. Create a data structure for the most recently accessed cache items: List A list in Redis is an ordered collection of items. It can be used to store the most recently accessed cache items, as you can easily add new items to the front of the list and remove the least recently accessed items from the end of the list. Send messages through high-performance publisher/subscriber mechanism: Channel A channel in Redis is used for the publish/subscribe messaging pattern. It allows you to send messages through a high-performance publisher/subscriber mechanism.
upvoted 2 times
...
Sriniv
2 years, 3 months ago
represents a collection of unique items, where each item can only appear once in the set. While a set can be used to store a collection of related items, it may not be the most suitable data structure for this requirement. This is because a set does not maintain the order of the items and does not provide an efficient way to search for a specific item.
upvoted 1 times
...
Sriniv
2 years, 3 months ago
Here are the features that match the given requirements: Feature: horizontal partitioning Requirement: Create a data structure for storing collections of related items Feature: list Requirement: Create a data structure for the most recently accessed cache items Feature: channel Requirement: Send messages through a high-performance publisher/subscriber mechanism
upvoted 2 times
...
aruni_mishra
2 years, 6 months ago
Set: for related items https://learn.microsoft.com/en-us/azure/architecture/best-practices/caching#use-tags-to-cross-correlate-cached-items List: to find the most recently accessed items https://learn.microsoft.com/en-us/azure/architecture/best-practices/caching#find-recently-accessed-items
upvoted 5 times
...
elequiel
2 years, 7 months ago
Got it in exam 20/10/2022
upvoted 8 times
OPT_001122
2 years, 7 months ago
thnx for the date
upvoted 1 times
...
...
Knightie
2 years, 8 months ago
https://redis.io/docs/data-types/sets/
upvoted 1 times
...
qwerty112233
2 years, 9 months ago
Correct https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching
upvoted 3 times
...
sghaha
3 years, 1 month ago
caching (in Korean) https://docs.microsoft.com/ko-kr/azure/architecture/best-practices/caching
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...