exam questions

Exam DP-201 All Questions

View all questions & answers for the DP-201 exam

Exam DP-201 topic 4 question 21 discussion

Actual exam question from Microsoft's DP-201
Question #: 21
Topic #: 4
[All DP-201 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 in the Cool access tier and the application logs in the Archive access tier.
Cool - Optimized for storing data that is infrequently accessed and stored for at least 30 days.
Archive - Optimized for storing data that is rarely accessed and stored for at least 180 days with flexible latency requirements, on the order of hours.
Box 2: Azure Blob storage lifecycle management rules
Blob storage lifecycle management offers a rich, rule-based policy that you can use to transition your data to the best access tier and to expire data at the end of its lifecycle.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers

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
H_S
Highly Voted 4 years, 2 months ago
Box one is wrong; You do not expect that the logs will be accessed during the retention periods.==>archive for both
upvoted 23 times
captainbee
3 years, 11 months ago
Wrong. You can't store files in Archive unless they've been around for at least 180 days.
upvoted 4 times
ramelas
3 years, 6 months ago
wrong, not a requirement but a best practice. where is the link to prove your statement?
upvoted 1 times
...
...
...
saifone
Highly Voted 4 years, 1 month ago
Infra logs should be kept in Cool tier as it's only 60 days retention period, there's Early deletion charge otherwise "Any blob that is moved into the cool tier (GPv2 accounts only) is subject to a cool early deletion period of 30 days. Any blob that is moved into the archive tier is subject to an archive early deletion period of 180 days. This charge is prorated." https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers?tabs=azure-portal
upvoted 21 times
...
Larrave
Most Recent 3 years, 6 months ago
Answer should be correct. We want to minimize costs, but we also do get a penalty if we delete data before the retention period. "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." https://docs.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview Therefore infrastructure has to be cool as there the penalty period is 30 days, while archive 180 days.
upvoted 2 times
...
hosan
3 years, 9 months ago
What is the correct answer finally ? Lot of comments confuse actually.
upvoted 2 times
...
111222333
4 years ago
I believe the "Azure Blob storage lifecycle management rules" are just for Azure Blob Storage, not for Data Lake. Data Lake has a new option from July 2020 "Azure Data Lake Storage lifecycle management". With these provided options, I would go for Data Factory pipeline (with delete activity). https://azure.microsoft.com/en-us/updates/lifecycle-management-for-azure-data-lake-storage-is-now-generally-available/ https://azure.microsoft.com/it-it/blog/clean-up-files-by-built-in-delete-activity-in-azure-data-factory/
upvoted 3 times
...
Needium
4 years, 2 months ago
Clearly archive for both set of logs since they are not expected to be assessed.
upvoted 11 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 ...