exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 5 question 24 discussion

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

You deploy two instances of an Azure web app. One instance is in the East US Azure region and the other instance is in the West US Azure region. The web app uses Azure Blob storage to deliver large files to end users.
You need to recommend a solution for delivering the files to the users. The solution must meet the following requirements:
✑ Ensure that the users receive files from the same region as the web app that they access.
✑ Ensure that the files only need to be uploaded once.
✑ Minimize costs.
What should you include in the recommendation?

  • A. Distributed File System (DFS)
  • B. read-access geo-redundant storage (RA-GRS)
  • C. Azure File Sync
  • D. geo-redundant storage (GRS)
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
cloudGala
Highly Voted 4 years, 6 months ago
Question asking "Ensure that the users receive files from the same region as the web app that they access." Correct answer B. read-access geo-redundant storage (RA-GRS)
upvoted 62 times
amt123
3 years, 10 months ago
The difference between GRS and RA GRS is fairly simple, GRS only allows to be read in the secondary zone in the event of a failover from the primary to secondary while RA GRS allows the option to read in the secondary whenever. It should be noted that your application and data will come with two endpoints with RA GRS requiring you to manage both endpoints.
upvoted 11 times
...
Jinder
4 years, 3 months ago
BOTH GRS and RA_GRS are available only when failover occurs, otherwise, it's always the primary copy that is accessible. So both GRS and RA_GRS do not hold true as answers. Then DFS is not an Azure option. The only left option is then Azure File Sync, but that is also requiring an Azure File Server. Maybe incorrect options are given here mistakenly, similar cases have been seen while studying questions in this website, not many, just rarely. Admin can clear the air on it.
upvoted 12 times
Leandre
3 years, 10 months ago
with RA_GRS you can read files in the secondary region but all writes operations remains on the first region. Here we'are talking about what we recommand and not how to implement it. the correct answer should be Azure File Sync.
upvoted 2 times
pentium75
3 years, 8 months ago
"With RA_GRS you can read files in the secondary region but all writes operations remains on the first region", which is exactly what we're after. Files uploaded once, Read (!) operations served from local region.
upvoted 10 times
Nemo634
3 years, 2 months ago
the requirement is "users receive files" what means files are RO. Writing files is not necessary.
upvoted 1 times
...
...
...
dandirindan
4 years, 2 months ago
great explanation
upvoted 1 times
...
MadEgg
4 years, 3 months ago
That's not right Jinder. With your explanation there is no difference between GRS and RA_GRS. See the link shared by speedminer: https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy "...When you enable read access to the secondary region, your data is available to be read at all times, including in a situation where the primary region becomes unavailable. For read access to the secondary region, enable read-access geo-redundant storage (RA-GRS) or read-access geo-zone-redundant storage (RA-GZRS)."
upvoted 16 times
...
...
...
levianthan
Highly Voted 4 years, 7 months ago
With GRS you don't get to read the other region unless you initiate failover. So RA-GRS.
upvoted 22 times
cowodah814
4 years, 6 months ago
it does not achieve the question requirement: Ensure that the users receive files from the same region as the web app that they access. So C is the correct answer
upvoted 5 times
pantsrus
3 years, 10 months ago
Not correct. If your argument holds that RA-GRS does not ensure webapp pulls files from the same reason, the same is true for File Sync. However in case of File Sync the costs / efforts are not minimized as it is a separate service to setup and maintain. With RA-GRS you can force one app to use primary storage URL and second app to use secondary storage URL. With RA-GRS you get the syncing for "free" on your part
upvoted 3 times
...
...
...
cloudera
Most Recent 3 years ago
Selected Answer: D
I would probably chose D mainly because the requirements here are: 1. Minimize COST 2. File within the same region as the webApp #There is nothing mention of AVAILABILITY - meaning I don't necessarily need to pick a solution based on "will it it be available if one region fail". So comparing GRS and RA-GRS to reduce the cost - I would pick GRS.
upvoted 3 times
...
arun
3 years, 1 month ago
Selected Answer: B
The difference between GRS and RA GRS is fairly simple, GRS only allows to be read in the secondary zone in the even of a failover from the primary to secondary while RA GRS allows the option to read in the secondary whenever. refer below, https://www.reply.com/solidsoft-reply/en/content/which-microsoft-azure-replication-service-should-you-use#:~:text=The%20difference%20between%20GRS%20and,read%20in%20the%20secondary%20whenever.
upvoted 1 times
...
OlivierPaudex
3 years, 1 month ago
1. You upload a file to blob RA-GRS storage once 2. File is available in second zone Azure File Sync works only with File shared storage. GRS blob files will not be available until a failover is triggered. Answer B is correct
upvoted 1 times
...
us3r
3 years, 2 months ago
Selected Answer: B
RAGRS ans please someone vote A to add it the rainbow
upvoted 2 times
...
Gall
3 years, 2 months ago
Selected Answer: C
RA-GRS and GRS are fail-over copies only. It's not to us in runtime explicitly. To provide data close to users in the region you need CDN. AzureFiles is correct.
upvoted 1 times
...
anthony2021
3 years, 3 months ago
Selected Answer: B
(RA-GRS)
upvoted 3 times
...
yyuryyucicuryyforme
3 years, 3 months ago
Selected Answer: D
The answer is D) GRS because it is cheaper than B) RA-GRS and there is no other requirement. The user location is not specified nor which web app each accesses. Only the location of the web app is specified. Each region has a web app, and each web app will have a storage account in the same region as the web app. GRS is the cheapest storage account option shown. :)
upvoted 1 times
...
Dpejic
3 years, 4 months ago
Appere on exam 23-dec-2021
upvoted 1 times
...
syu31svc
3 years, 6 months ago
A. Distributed File System (DFS) The Distributed File System (DFS) functions provide the ability to logically group shares on multiple servers and to transparently link shares into a single hierarchical namespace. C. Azure File Sync Azure File Sync transforms Windows Server into a quick cache of your Azure file share. D. geo-redundant storage (GRS) The data in the secondary region isn't available for read or write access unless there is a failover to the secondary region. B is correct
upvoted 3 times
...
poplovic
3 years, 7 months ago
B is correct. A and C is ruled out because Azure blob storage is used. now we need to choose between GRS and RA-GRS. some facts. 1. east US and west US are paired region https://docs.microsoft.com/en-us/azure/best-practices-availability-paired-regions#what-are-paired-regions 2. RA-GRS supports the direct read from the second region. therefore, we only need to upload the big file to primary region once. Then it will be available in the secondary region. Now it is easy to reach the answer "RA-GRS" https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy#read-access-to-data-in-the-secondary-region
upvoted 3 times
...
shroff
3 years, 8 months ago
The question clearly mentions that the webapp has to read from the same region where it exists. GRS and RA-GRS does not support this for the reasons is a DR approach. Azure File Sync is the way to go
upvoted 1 times
pentium75
3 years, 8 months ago
Azure File Sync is for syncing on-prem servers with Azure File Share. It has nothing to do with Blob storage, or with replicating blobs between Storage Accounts. https://docs.microsoft.com/en-us/azure/storage/file-sync/file-sync-introduction
upvoted 4 times
...
...
janshal
3 years, 10 months ago
answer : B Please notice The web app uses Azure Blob storage so its cannot be DFS or Azure Files
upvoted 4 times
...
KaiserdomTW
3 years, 11 months ago
the files only need to be uploaded once, so I choose B
upvoted 1 times
...
demonite
3 years, 11 months ago
Uploading files just once seam to me that some replication should be in place. Reading or downloading from a region closer to the user means to me that some sort of CDN should be involved. So none of the answer makes sense or perhaps the RAGRS makes a bit of sense but not as a complete solution
upvoted 3 times
...
tomasslivka
4 years, 2 months ago
I don't think that B is the correct answer. Yes you can read in same time from the secondary region - but - you can't choose the secondary region. So how would one ensure that data are served from both East and West regions within the single Storage Account? Probably File Sync is the proper one.
upvoted 1 times
Moley
3 years, 11 months ago
The second region has its own access URL. You just can't write to it. the answer is RA-GRS
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago