exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 12 question 3 discussion

Actual exam question from Microsoft's AZ-203
Question #: 3
Topic #: 12
[All AZ-203 Questions]

You need to ensure receipt processing occurs correctly.
What should you do?

  • A. Use blob metadata to prevent concurrency problems.
  • B. Use blob SnapshotTime to prevent concurrency problems.
  • C. Use blob leases to prevent concurrency problems.
  • D. Use blob properties to prevent concurrency problems.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
You can create a snapshot of a blob. A snapshot is a read-only version of a blob that's taken at a point in time. Once a snapshot has been created, it can be read, copied, or deleted, but not modified. Snapshots provide a way to back up a blob as it appears at a moment in time.
Scenario: Processing is performed by an Azure Function that uses version 2 of the Azure Function runtime. Once processing is completed, results are stored in
Azure Blob Storage and an Azure SQL database. Then, an email summary is sent to the user with a link to the processing report. The link to the report must remain valid if the email is forwarded to another user.
References:
https://docs.microsoft.com/en-us/rest/api/storageservices/creating-a-snapshot-of-a-blob

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
IrfanSheikh
Highly Voted 5 years, 7 months ago
answer should be C
upvoted 49 times
A point-in-time snapshot is a copy of a storage volume, file or database as they appeared at a given point in time and are used as method of data protection. In the event of a failure, users can restore their data from the most recent snapshot before the failure. Many point-in-time snapshots are read-only. So C is not correct
upvoted 1 times
...
...
Regimiento
Highly Voted 5 years, 6 months ago
I agree, answer should be C, using Lease
upvoted 15 times
...
ExamStudent123
Most Recent 4 years, 10 months ago
B is correct. "The link to the report must remain valid if the email is forwarded to another user." With a snapshot, it can never be updated. With a lease, someone could release the lease and modify the blob. Then the URL would return not return the original BLOB
upvoted 9 times
cbn
4 years, 4 months ago
Question is about "processing" the receipt. Email is only sent after the processing.
upvoted 3 times
...
...
ather_13
4 years, 11 months ago
"C" Leases should be answer https://docs.microsoft.com/en-us/azure/storage/common/storage-concurrency
upvoted 4 times
...
KK_uniq
5 years, 3 months ago
should be lease
upvoted 5 times
...
Vkv
5 years, 3 months ago
Agree , it is mentioned concurrent processing of receipt should be prevented
upvoted 5 times
...
IrfanSheikh
5 years, 7 months ago
Concurrency can be achieved by either using Lease or using ETag(or last updated time) .
upvoted 8 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 ...