exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 3 question 42 discussion

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

HOTSPOT -
You have an Azure Storage account named storage1 that contains a blob container. The blob container has a default access tier of Hot. Storage1 contains a container named conainer1.
You create lifecycle management rules in storage1 as shown in the following table.

You perform the actions 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.
Hot Area:

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
NZure
Highly Voted 3 years, 5 months ago
I don't think this is correct Rule1 archives blobs(aka files) after 2 days of inactivity and deletes after 9 Rule2 moves to cool tier after 3 days and archive tier after 9 Of the three files, Rule1 only applies to Dep1File1.docx, while the other files have Rule2 applied. The question asks if you can read the files on the 10th, not if they still exist. Files in the archive tier CANNOT be read as documented by Microsoft: "While a blob is in archive storage, the blob data is offline and can't be read or modified. To read or download a blob in archive, you must first rehydrate it to an online tier." https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers Dep1File1.docx was last updated 8 days ago, and would be in archive tier File2.docx was last updated 5 days ago, and would be in cool tier File3.docx was last updated 8 days ago and would be in cool tier Dep1File1 > No cannot be read File2 > Yes cannot be read File3 > Yes can be read
upvoted 224 times
S3ktar
3 years, 2 months ago
Correct Answer - No - Yes - Yes Dep1File1.docx is in archive, meaning the only way to pull it out and read it is to "rehydrate" the file File2 and File3 can continue to be read, even in the cool tier
upvoted 26 times
...
examprepboy
5 months, 1 week ago
no yes yes you wrote "cannot" im assuming typo
upvoted 3 times
...
jecaine
3 years, 5 months ago
i'm so sick of this site and their questionable answers. Sigh. i never know who to trust, the site or the forum.
upvoted 32 times
stormshaun
2 years, 12 months ago
Personally, the purpose of this site is for me to get a glimpse of the questions and search for the correct answers myself hence me learning not just passing the exam. If you only look for correct answers here, you are failing yourself. Good luck on your future exams.
upvoted 10 times
Paimon
2 years, 10 months ago
Agreed. I get a feel for the questions and spend a lot of time researching.
upvoted 4 times
...
...
Megabyte10
6 months ago
Dude, you come for the questions, and the answers.. you gotta check the work. Its part of the process.
upvoted 4 times
...
Hyrydar
2 years, 6 months ago
if you expect to show up here and have all the right answers handed to you so that you can go to the exam room and recite them, then i honestly believe you do not belong to this forum. We have healthy debates here..some right and some wrong. The idea is for you to do your research and contribute if you can. You have not paid anyone to provide you with the right answers. you should consider yourself lucky we have a site that provides us with the flavor and style of the questions we might encounter in the exam, it is a priviledge...quit complaining and go to work.
upvoted 35 times
...
...
TinyRunner
2 years ago
Thank you NZure
upvoted 2 times
...
...
Quantigo
Highly Voted 3 years, 5 months ago
Correct Answer N Y Y Dep1File1 is hit by rule 1 which will archive the file by the 10th rendering it unreadable File 2 and file3 are missed by the first rule and gets hit by the 2nd rule, which will make them still readable by the 10th https://docs.microsoft.com/en-us/azure/storage/blobs/archive-rehydrate-overview#:~:text=While%20a%20blob%20is%20in,the%20hot%20or%20cool%20tier.
upvoted 71 times
d6f865d
3 months, 1 week ago
Dep1File1 is edited on Oct 2, still gets hit by the archive rule but that wont happen until the 11th since the file was last modified on the 2nd not the 1st
upvoted 1 times
...
itgg11
3 years, 2 months ago
NYY. Agree with Quantigo. An archived file needs to be rehydrated first which may take up to 15 hours. The question is poorly worded. "Standard priority: The rehydration request will be processed in the order it was received and may take up to 15 hours." https://docs.microsoft.com/en-us/azure/storage/blobs/archive-rehydrate-overview#:~:text=While%20a%20blob%20is%20in,the%20hot%20or%20cool%20tier
upvoted 6 times
...
...
Karaole
Most Recent 1 month ago
You cannot directly read data from the Archive tier. When data is in the Archive tier, it's cold storage that is optimized for infrequent access, and to retrieve it, you need to perform a rehydrate operation. This involves restoring the data to a more accessible tier (like Hot or Cool) before you can read it. The question ask if you can read the files but note once a file is in Archive you can't read it until you rehydrate it. N,Y,N When data is in the Archive tier, it's cold storage that is optimized for infrequent access, and to retrieve it, you need to perform a rehydrate operation. This involves restoring the data to a more accessible tier (like Hot or Cool) before you can read it. The question ask if you can read the files but note once a file is in Archive you can't read it until you rehydrate it. N,Y,N
upvoted 2 times
areait
1 week, 5 days ago
That's what i thought, so i also would answer N Y N
upvoted 1 times
...
...
fouserd
4 months ago
Should the correct answer be the one provided? The Dept1File1.docx got edited on October 2 there for by the 10th it should still be able to be read. or am i wrong?
upvoted 1 times
...
lahirudk
5 months ago
This question is valid as per 1st Oct, 2024
upvoted 4 times
...
[Removed]
6 months ago
WRONG No Yes Yes
upvoted 2 times
...
Megabyte10
6 months ago
The answer is: No, Yes, Yes No - On October 10 you can not read the Dep1File1.docx file, because its being applied by Rule 1 only. Rule 1 says if blobs not modified for 2 days it will be moved to archive storage and needs to be re-hydrayed, which takes several hours. After 9 days its deleted, but its only 8 days old.. so no worries. -Yes on October 10, you can read File2.docx because rule #2 is applying to here - since it was last edited October 5, only 5 days have passed. After 3 days its moved to cool storage - and files in cool storage are readable! Yes - File3 is readable because it was last edited on October 2, which throws it in cool storage, and not enough time has passed for it to move to archive storage.
upvoted 1 times
...
Terisssss
6 months, 4 weeks ago
The reason I agree with given answer is because a prefix in a blob is like creating a vitrual directory structure in a blob container. So, when giving a prefix of Dep1/ it means that a vitrual folder gets created that blobs can get saved into. The question does not specify where the blobs get uploaded so I assume that they get uploaded to container1. Based on that, in order for rule1 to apply to any given blob, the blob would need to have a prefix of Dep1/. The first blob does not have said prefix, it's just that it's name starts with Dep1 which is different from the Dep1/ prefix that creates the folder. For the first question to be NO as everyone says, Dep1File1.txt blob would need to have a prefix of Dep1/ meaning, Dep1/Dep1File1.txt. Basically the only rule that applies here is rule2 and since every blob has a maximum modify date of 9 days we can access every blob. Correct answer is YYY
upvoted 2 times
...
1964L84Fulie
7 months ago
Taking the October 1 "Action" literally, the 3 files were uploaded to the Container not the folder /Dep1. Therefor on October 10 you would be able to read Dep1File1.docx. azcopy cp /path/to/local/file.txt: The path to your local file. [account]: Your Azure Storage account name. [container]: The name of the target container. [path/to/blob]: The desired path within the container (optional).
upvoted 2 times
...
frantzelopoulos87
9 months ago
How can the answers for Dep1File1.doc.x and File3 be different, given that I don't see any difference in their lifecycle? They were both created in the same container on the same day and later modified again, but again on the same day. So why do so many people treat them as if they are in different containers or have something different? Or am I just missing something?
upvoted 1 times
[Removed]
6 months, 3 weeks ago
Rule1 only applies to objects/blobs whose names begins with 'Dep1', hence the difference. Reference: https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-policy-configure?tabs=azure-portal#optionally-enable-access-time-tracking:~:text=filters%20on%20blobs%20whose%20name%20begins%20with%20log%20in%20a%20container%20called%20sample%2Dcontainer.
upvoted 2 times
...
...
tashakori
11 months, 2 weeks ago
Given answer is right
upvoted 2 times
...
gil906
1 year ago
I don't get why Dep1File1.docx and File3.docx where uploaded the same day (October 1st), edited the same day (Oct 2nd) and still one can be acceded and the other not on October 10 (Question 1 and 3), I think either both are archived or both are in cool storage, what am I missing?
upvoted 3 times
[Removed]
6 months, 3 weeks ago
Rule1 only applies to objects/blobs whose names begins with 'Dep1', hence the difference. Reference: https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-policy-configure?tabs=azure-portal#optionally-enable-access-time-tracking:~:text=filters%20on%20blobs%20whose%20name%20begins%20with%20log%20in%20a%20container%20called%20sample%2Dcontainer.
upvoted 1 times
...
...
jecampos2
1 year ago
The correct answer should ne NYY. https://learn.microsoft.com/en-us/azure/storage/blobs/archive-blob?tabs=azure-portal While a blob is in the archive tier, it can't be read or modified. To read or download a blob in the archive tier, you must first rehydrate it to an online tier, either hot or cool.
upvoted 2 times
...
Saurabh_Bhargav
1 year ago
1. No. You can not read Dept1File.docx , YOu can not read file in archive tier 2. Yes. Because file is modified on 5 Oct, after 2 days it moved to cool storage and on 10th oct its still in cool storage. You can read file in cool storage. 3. Yes. Same as File 2 its still in cool storage, because its modified on 2nd oct it still has one day to move to archive tier.
upvoted 6 times
...
datoveh250
1 year, 1 month ago
Agree with your answer!! Get Up-to-date: https://www.pinterest.com/pin/937522847419095399
upvoted 2 times
...
PhoenixAscending
1 year, 1 month ago
This was on my exam, but the rule block was different.
upvoted 1 times
...
adilkhan
1 year, 1 month ago
N Y Y is 100% correct no need to further discuss this as: Dep1File1 is hit by rule 1 which will archive the file by the 10th rendering it unreadable
upvoted 1 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