exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 3 question 61 discussion

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

You have an Azure subscription. The subscription contains a storage account named storage1 that has the lifecycle management rules shown in the following table.



On June 1, you store a blob named File1 in the Hot access tier of storage1.

What is the state of File1 on June 7?

  • A. stored in the Cool access tier
  • B. stored in the Archive access tier
  • C. stored in the Hot access tier
  • D. deleted
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
elior19940
Highly Voted 2 years, 1 month ago
Sorry, the corect answer is D If you define more than one action on the same blob, lifecycle management applies the least expensive action to the blob. For example, action delete is cheaper than action tierToArchive. Action tierToArchive is cheaper than action tierToCool. https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview
upvoted 87 times
WeepingMaplte
10 months, 2 weeks ago
Reference: https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview#:~:text=If%20you%20define%20more%20than%20one%20action%20on%20the%20same%20blob%2C%20lifecycle%20management%20applies%20the%20least%20expensive%20action%20to%20the%20blob
upvoted 2 times
...
...
nightfxll
Highly Voted 1 year, 9 months ago
Who in their right mind will set up rules like this? Answer is D.
upvoted 57 times
fouserd
4 months ago
Microsoft
upvoted 8 times
...
anjanc
1 year, 8 months ago
No one...except ms examiner :)
upvoted 31 times
...
...
Bravo_Dravel
Most Recent 1 month ago
Selected Answer: D
If you set multiple actions on the same blob within a lifecycle management policy, Azure Blob Storage will automatically choose and apply the least expensive action to that blob, prioritizing options like deleting over archiving, and archiving over moving to a cooler tier.
upvoted 1 times
...
Dankho
4 months, 3 weeks ago
Unbelievable. It's as if we're trying to trick our system to see how it would respond. Who in their right mind would set anything up like this.
upvoted 3 times
...
[Removed]
6 months ago
Selected Answer: D
D is correct delete is the cheapest action here
upvoted 1 times
...
FLO3489875
9 months, 2 weeks ago
it came in the exam today 21/05/2024.
upvoted 1 times
...
EdyCv
9 months, 2 weeks ago
If you define more than one action on the same blob, lifecycle management applies the least expensive action to the blob. For example, action delete is cheaper than action tierToArchive. Action tierToArchive is cheaper than action tierToCool. https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview#rule-filters
upvoted 2 times
...
LovelyGroovey
11 months ago
My instructor explained this to me. This is a trap question. Rule 2 (5 days, Delete the Blob) is the key. If base blobs were last modified more than (days) 5 days, you delete the Blob. Let's think what happened to the Blob. It's deleted when it's modified more than 5 days. If the Blob is deleted, you can't even move to Archive storage. Because there is nothing to store again. So, the answer is D. deleted.
upvoted 3 times
...
01525bd
11 months, 2 weeks ago
If you define more than one action on the same blob, lifecycle management applies the least expensive action to the blob. For example, action delete is cheaper than action tierToArchive. Action tierToArchive is cheaper than action tierToCool.
upvoted 2 times
...
Amir1909
11 months, 2 weeks ago
D is correct
upvoted 1 times
...
bacana
12 months ago
Think about it like this. You have 3 conflicting rules. Which one has the lowest cost? Delete
upvoted 1 times
...
MohsenSic
12 months ago
To me, the correct answer is C the file has been stored and not modified, so it would be still in the hot tier. To test this, I moved/copied an old file to another folder. Among created date, modified date, and access date (file properties) only accessed date changed.
upvoted 1 times
MohsenSic
12 months ago
Just tested my hypothesis in azure with storage explorer, the last modified date is the data that I created a file or copied it. by changing tier, the last mofied date is not changing in azure, so the correct answer is D.
upvoted 2 times
...
...
1828b9d
1 year ago
This question was in exam 01/03/2024
upvoted 3 times
...
adilkhan
1 year ago
If you define more than one action on the same blob, lifecycle management applies the least expensive action to the blob. For example, action delete is cheaper than action tierToArchive. Action tierToArchive is cheaper than action tierToCool. D
upvoted 1 times
...
Lorenz1974
1 year, 4 months ago
Selected Answer: D
https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview#rule-actions "Note Tiering is not yet supported in a premium block blob storage account. For all other accounts, tiering is allowed only on block blobs and not for append and page blobs."
upvoted 1 times
Lorenz1974
1 year, 4 months ago
"NOTE If you define more than one action on the same blob, lifecycle management applies the least expensive action to the blob. For example, action delete is cheaper than action tierToArchive. Action tierToArchive is cheaper than action tierToCool."
upvoted 2 times
...
...
SOz92
1 year, 5 months ago
Selected Answer: D
Answer is D
upvoted 1 times
...
dscience
1 year, 5 months ago
Selected Answer: A
The rules are evaluated based on the last modification date of the blob. If a blob is moved from the Hot tier to the Cool tier on June 5th due to Rule1, its last modified date changes. This means the clock for the 5-day period resets. Given this: On June 1, File1 is stored in the Hot access tier. On June 5 (5 days after June 1), Rule1 is applied, and File1 is moved to the Cool access tier. The last modified date of File1 is now June 5. On June 7, only 2 days have passed since the last modification (when it was moved to the Cool tier). Therefore, Rule2 and Rule3 have not yet been triggered. So, on June 7, File1 would still be in the Cool access tier.
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