exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 1 question 31 discussion

Actual exam question from Microsoft's DP-203
Question #: 31
Topic #: 1
[All DP-203 Questions]

HOTSPOT -
You have an Azure Data Lake Storage Gen2 account named account1 that stores logs as shown in the following table.

You do not expect that the logs will be accessed during the retention periods.
You need to recommend a solution for account1 that meets the following requirements:
✑ Automatically deletes the logs at the end of each retention period
✑ Minimizes storage costs
What should you include in the recommendation? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Store the infrastructure logs in the Cool access tier and the application logs in the Archive access tier
For infrastructure logs: Cool tier - An online tier optimized for storing data that is infrequently accessed or modified. Data in the cool tier should be stored for a minimum of 30 days. The cool tier has lower storage costs and higher access costs compared to the hot tier.
For application logs: Archive tier - An offline tier optimized for storing data that is rarely accessed, and that has flexible latency requirements, on the order of hours.
Data in the archive tier should be stored for a minimum of 180 days.
Box 2: Azure Blob storage lifecycle management rules
Blob storage lifecycle management offers a rule-based policy that you can use to transition your data to the desired access tier when your specified conditions are met. You can also use lifecycle management to expire data at the end of its life.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview

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
gf2tw
Highly Voted 2 years, 10 months ago
"Data must remain in the Archive tier for at least 180 days or be subject to an early deletion charge. For example, if a blob is moved to the Archive tier and then deleted or moved to the Hot tier after 45 days, you'll be charged an early deletion fee equivalent to 135 (180 minus 45) days of storing that blob in the Archive tier." <- from the sourced link. This explains why we have to use two different access tiers rather than both as archive.
upvoted 92 times
RoyP654
1 year, 4 months ago
"You do not expect that the logs will be accessed during the retention periods." - including deletes, i suppose. you just let lifecycle management rule do the deletes after the retention period ... Archiving for cost-reduction?
upvoted 4 times
...
Anshuman_B
1 year, 8 months ago
Thanks for sharing this info.
upvoted 1 times
...
dsp17
2 years, 3 months ago
Thanks a ton for explaining.
upvoted 2 times
...
...
ANath
Highly Voted 2 years, 10 months ago
The answers are correct. Data must remain in the Archive tier for at least 180 days or be subject to an early deletion charge. For example, if a blob is moved to the Archive tier and then deleted or moved to the Hot tier after 45 days, you'll be charged an early deletion fee equivalent to 135 (180 minus 45) days of storing that blob in the Archive tier. A blob in the Cool tier in a general-purpose v2 accounts is subject to an early deletion penalty if it is deleted or moved to a different tier before 30 days has elapsed. This charge is prorated. For example, if a blob is moved to the Cool tier and then deleted after 21 days, you'll be charged an early deletion fee equivalent to 9 (30 minus 21) days of storing that blob in the Cool tier. https://docs.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview
upvoted 20 times
...
d39f475
Most Recent 4 months, 3 weeks ago
configuring a trigger in a pipeline to delete logs when they reach their expiration date is a valid approach to automatically manage log retention in Azure.
upvoted 1 times
...
Alongi
6 months, 4 weeks ago
Correct answers
upvoted 1 times
...
kkk5566
1 year, 1 month ago
correct
upvoted 1 times
...
Rashmi007
1 year, 4 months ago
Given answer is correct.
upvoted 3 times
...
maochi
1 year, 4 months ago
The answers are correct
upvoted 1 times
...
mamahani
1 year, 5 months ago
Infrastructure: archive access tier (and pay penalty for early deletion) / application: archive access tier ; Azure Blob storage lifecycle management rules
upvoted 2 times
...
mamahani
1 year, 6 months ago
as per microsoft price lists: https://azure.microsoft.com/en-us/pricing/details/storage/blobs/ to store 50 terabytes in cool storage is around 500 usd/month to store 50 terabytes in archive storage is around 50 usd/month the retention for infrastructure logs is 60 days; files must remain in archive for minimum of 180 otherwise early delete penalty is to be paid; oki doki, 180 days minus 60 days, is 120 days; so around 4 month; 4*50 usd = 200 usd; its still WAY cheaper than cool storage; and the logs will not be accessed during retention (and even if they are , in archive they can be also retrieved, who cares if it takes hours); id go for archive for both
upvoted 2 times
...
NeerajGarg
1 year, 7 months ago
As per my calculations of storing the data in both the tiers and early deletion penalty, the archive storage (for both) is much cheaper than cool tier and archive tier. Assumption is that the data is not accessed from archive tier. The reference link for calculations : https://azure.microsoft.com/en-us/pricing/details/storage/blobs/
upvoted 1 times
...
SHENOOOO
1 year, 8 months ago
Given Answers are correct
upvoted 2 times
...
zilvakas
1 year, 9 months ago
While I understand the reason for such answer, I still have doubts. If we think about costs of storage then answer will be different. E.g. (west europe region, all costs for data retrevial are removed) Cool storage for 1 month for 1TB costs 11.10 Eur for 1 month (that is 11,10x6=66,6 for 180 days) and archive storage costs 3,41 Eur per month (that is 3,41x6=20,46 Eur for 6 months). Therefore Archive tear is cheeper even you need to keep the data for 180 days instead of 30. I would go for Archive tier in both cases.
upvoted 3 times
patvn
1 year, 8 months ago
Your comment is still valid though. You can delete data in the Archive tier in 30 days in subject to an early deletion penalty. But even if you got an early deletion penalty, the total cost of the Archive tier is still cheaper than that of the Cool tier
upvoted 1 times
...
zilvakas
1 year, 9 months ago
Ok, my comment is wrong because you MUST remove data at the end of retention period.
upvoted 2 times
...
...
Deeksha1234
2 years, 2 months ago
given answer is correct
upvoted 2 times
...
georgiakon
2 years, 3 months ago
I think that infrastructure logs should be Cool tier due to the 60 days retention period. At the Archive tier they will be early deletion charge (they should remain at least 180 days in Archive), as mentioned in the answer's provided link.
upvoted 1 times
...
Backy
2 years, 5 months ago
The question says "You do not expect that the logs will be accessed during the retention periods" - so there is no reason to keep any of them as Cool, so the correct answer should be to put them both in Archive
upvoted 4 times
sdokmak
2 years, 4 months ago
yeah but because the infrastructure logs are <180 days before deleting, there is a considerable fee to delete if in archive, so not the cheapest option.
upvoted 6 times
...
...
Muishkin
2 years, 5 months ago
But the question says 360 days and 60 days for the 2 logs...whereas archive tier could store only upto 180 days .Also the cool tier has lesser storage cost /- hour as compared to archive tier.So should'nt the answer be cool tier for both?
upvoted 1 times
JNunn
1 year, 9 months ago
Data in the archive tier should be stored for a minimum of 180 days - not a maximum.
upvoted 1 times
...
...
Mahesh_mm
2 years, 9 months ago
Answers are correct
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago