exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 3 question 49 discussion

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

HOTSPOT
-

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 two blobs in storage1 as shown in the following table.



For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
buzzerboy
Highly Voted 2 years, 1 month ago
N-N-N On June 6, File1 will be in archive because File1 is in container 1, and rule 1 applies 3 days after june 1. On June 1, File2 will still be in Hot tier because File2 is in container2, Rule3 and Rule4 havent hit yet. On June 16, File2 will be deleted because Rule3 applies 10 days after June 1.
upvoted 100 times
kanag1
2 years ago
Thank you for the logical explanation !
upvoted 3 times
...
xRiot007
1 year, 9 months ago
On June 6, File 1 will be in Cool, because Rule 2 applies after 5 days for all containers.
upvoted 13 times
[Removed]
1 year, 4 months ago
Azure Blob Storage's lifecycle management policies are designed to manage the lifecycle of blobs, but they don't directly support transitioning objects from the archive to cool storage. => On June 6, File1 is still in archive
upvoted 8 times
SQL_Student
1 year, 2 months ago
N-N-N, moreover for file 1 rule 2 consideration, it says if file is not modified for longer than 5 days move to cool. june 1-6 = 5 days which is not longer than 5 days.
upvoted 1 times
...
...
garmatey
1 year, 8 months ago
Incorrect because lifecycle management policies cant move objects from archive to cool, so file 1 will remain in archive.
upvoted 20 times
maxsteele
1 year, 5 months ago
Do you have a source on this? because what Im reading is that it can be done, but its not advised because rehydrating does not change the modified date. So the issue would be that the file would be moved out of Archive into Cool (as per the rules) but then get moved back to Archive because that rule still applies. There are other modifiers that can be set to prevent this but Microsoft recommends Copying the file out of Archive instead of moving it: https://learn.microsoft.com/en-us/azure/storage/blobs/archive-rehydrate-overview?source=recommendations "Changing a blob's tier doesn't affect its last modified time. If there is a lifecycle management policy in effect for the storage account, then rehydrating a blob with Set Blob Tier can result in a scenario where the lifecycle policy moves the blob back to the archive tier after rehydration because the last modified time is beyond the threshold set for the policy"
upvoted 2 times
OrangeSG
1 year, 4 months ago
Lifecycle management uses your rules to automatically move blobs to cooler tiers or to delete them. If you create multiple rules, the associated actions must be implemented in tier order (from hot to cool storage, then archive, then deletion). https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-policy-configure
upvoted 2 times
ggogel
1 year, 2 months ago
What you quote here is just the description shown in the Azure Portal. This is the intended use case. The older the data is, the further "down" it goes. However, it is not stated anywhere that moving from archive to cold is not supported.
upvoted 2 times
...
...
...
ggogel
1 year, 2 months ago
Where did you find this information? I can't find this anywhere in the docs. I think what applies here is the situation described in the docs: "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." Source: https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview#rule-actions Rule1 and Rule2 apply, but Rule1 is the cheaper option. As maxsteele pointed out, even if the blob was manually moved to the cool tier, it would be immediately moved back to archive.
upvoted 2 times
...
...
...
...
vb3d
Highly Voted 2 years, 1 month ago
I think answer should be Y-N-N Y : because of rule2, it has no filter so it applies to all blobs
upvoted 19 times
Taco
2 years ago
I agree with you sir. "If you don't define prefixMatch, the rule applies to all blobs within the storage account."
upvoted 2 times
...
AK4U_111
2 years ago
I think you are incorrect: File1 on June1 is in Hot tier. File1 on June2 is in Cool tier (rule2 5 days ago - no scope applies to all containers) File1 on June4 moves to archive (rule1)
upvoted 3 times
...
mabhishekit
1 year, 3 months ago
The blob prefix match field of a policy is a full or partial blob path, which is used to match the blobs you want the policy actions to apply to. The path must start with the container name. If no prefix match is specified, then the policy will apply to all the blobs in the storage account. The format of the prefix match string is [container name]/[blob name].storage-blob-faq
upvoted 1 times
...
...
Bravo_Dravel
Most Recent 1 month ago
Correct NNN
upvoted 2 times
...
Abhisk127
1 month, 1 week ago
This question was exam dated-23 Jan 2025. Answers-N-N-N
upvoted 2 times
...
ozansenturk
1 month, 2 weeks ago
this answer is correct however in the exam the second date was 7th June instead of June 1st. it is 7th June then the File2 will be in the cool tier
upvoted 1 times
...
[Removed]
6 months ago
CORRECT
upvoted 2 times
...
[Removed]
8 months, 3 weeks ago
N-N-N 1. On June 6, File1 will be in archive because File1 is in container 1, and rule 1 applies 3 days after june 1. (Rules 1 hit first based on days, even if Rules 2 not defining the Blob Prefix) 2. On June 1, File2 will still be in Hot tier because File2 is in container2, Rule3 and Rule4 havent hit yet. 3. On June 16, File2 will be deleted because Rule3 applies 10 days after June 1. (Rules3 hit first based on days, instead of Rules 4 - No data to be deleted)
upvoted 1 times
...
varinder82
9 months, 3 weeks ago
Final Answer : NNN On June 6, File1 will be in archive because File1 is in container 1, and rule 1 applies 3 days after june 1. On June 1, File2 will still be in Hot tier because File2 is in container2, Rule3 and Rule4 havent hit yet. On June 16, File2 will be deleted because Rule3 applies 10 days after June 1.
upvoted 1 times
...
whatthewhat
9 months, 3 weeks ago
Whatever admin set these storage policies deserves to be fired
upvoted 4 times
...
TrIAQ
11 months, 1 week ago
This question tries to trick you! Rule 4 will never be executed. NNN
upvoted 1 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. https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview so basically archive is cheaper than cool, so question one should be "NO"
upvoted 2 times
Eslam_Farag
2 months, 4 weeks ago
thank you for sharing the info, I was really concerned about which role has privilege to be applied.
upvoted 1 times
...
...
Amir1909
11 months, 2 weeks ago
New No Yes No
upvoted 1 times
...
Amir1909
11 months, 2 weeks ago
Given answer is right
upvoted 1 times
...
1828b9d
1 year ago
This question was in exam 01/03/2024 correct answer is NYN
upvoted 1 times
How many questions you think have from et?
upvoted 1 times
...
...
tashakori
1 year ago
Correct
upvoted 1 times
...
Wojer
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.
upvoted 1 times
...
SkyZeroZx
1 year, 1 month ago
N-N-N On June 6, File1 will be in archive because File1 is in container 1, and rule 1 applies 3 days after june 1. On June 1, File2 will still be in Hot tier because File2 is in container2, Rule3 and Rule4 havent hit yet. On June 16, File2 will be deleted because Rule3 applies 10 days after June 1.
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