exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 6 question 11 discussion

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

HOTSPOT -
You have two Azure App Service app named App1 and App2. Each app has a production deployment slot and a test deployment slot.
The Backup Configuration settings for the production slots are 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
Mozbius_
Highly Voted 2 years, 7 months ago
NNY On January 15th you will have 9 backups as 0 day retention is defined as indefinite. [How many days to keep a backup before automatically deleting it. Set to 0 for indefinite retention.] https://docs.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest The DevOps / Web apps backup in the questions only includes the production slot. One cannot restore a test slot from a production slot backup. [If a slot is not specified, the API will create a backup for the production slot.] https://docs.microsoft.com/en-us/rest/api/appservice/web-apps/backup-slot January 6th backup will still be within the 30 days retention as of January 15th.
upvoted 87 times
5c3d677
5 months, 3 weeks ago
you only keep ONE backup for first question. On jan 15, there will be one back up as all the other backups will be deleted. Imagine backing up everyday, and saving those backups indefinitely, yeah your storage is toast. Your answer is so wrong, and yet you are so confident with those links, its truly scary.
upvoted 2 times
itismadu
2 months, 1 week ago
it is actually there on the link https://learn.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest. CLI --retention How many days to keep a backup before automatically deleting it. Set to 0 for indefinite retention.
upvoted 1 times
...
...
garmatey
1 year, 7 months ago
great, i love when they use zero and don't mean zero...
upvoted 40 times
hebbo777
1 year ago
Hahaha crazy and confusing ,,, they can simply use unlimited shiittt
upvoted 4 times
...
...
Citmerian
2 years, 1 month ago
app1 dont' have a retention configured but option " keep at least one backup" is yes. on 15th have one backup. Y,N,Y
upvoted 12 times
Benzitho
1 year, 6 months ago
Well sported ...Well done ..I totally missed it .
upvoted 2 times
...
MrJJ10
1 year, 11 months ago
Question States, "Will have ONLY ONE backup in storage" because retention is set to "0" for indefinite, you will have more than ONLY ONE
upvoted 3 times
...
tyohaina
2 years, 1 month ago
That's 'at least'. Not 'at most'
upvoted 2 times
...
...
...
bluefoot
Highly Voted 2 years, 7 months ago
NNY 1. https://docs.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest --retention How many days to keep a backup before automatically deleting it. Set to 0 for indefinite retention. 2. didn't mention test slot backup at all 3. https://docs.microsoft.com/en-us/rest/api/appservice/web-apps/restore-slot we can restore a specific backup to another app (or deployment slot, if specified).
upvoted 33 times
RVivek
1 week, 5 days ago
Clear. Thank You
upvoted 1 times
...
DanishHassan
2 years, 2 months ago
It is mentioned in a Question: Each app has a production deployment slot and a test deployment slot.
upvoted 1 times
DanishHassan
2 years, 2 months ago
However, The Backup Configuration settings is provided for the production slots so answer is NO.
upvoted 8 times
...
...
...
SeMo0o0o0o
Most Recent 2 months ago
WRONG.. No No Yes
upvoted 1 times
...
joolitan
2 months, 2 weeks ago
On January 15, 2021, App1 will have only one backup in storage = No ( Set to 0 for indefinite retention, ‘only one’ is wrong ) On February 6, 2021, you can access the backup of the App2 test slot from January 15, 2021 = No (backup for production slot) On January 15, 2021, you can restore the App2 production slot backup from January 6 to the App2 test slot = Yes
upvoted 1 times
...
rcbrasileiro
2 months, 2 weeks ago
I took the exam on 9/13/24, I scored 858 and chose NNY. I studied only through ET for 3 weeks. All the questions were in ET except one which is probably new.
upvoted 6 times
...
SrWalk49
3 months, 2 weeks ago
I argue that the first answer was yes because it said AT LEAST one copy. Then I saw a link in the comments that says this and I changed my answer to no. Explicitly says zero is indefinite. --retention How many days to keep a backup before automatically deleting it. Set to 0 for indefinite retention.
upvoted 1 times
...
kam1122
4 months, 1 week ago
YNY Jan 15 have 1 backup test app have no back up App 2 have 30 days retention
upvoted 2 times
...
tashakori
8 months, 2 weeks ago
No No Yes
upvoted 2 times
...
Amir1909
9 months, 1 week ago
- No - No - Yes
upvoted 2 times
...
AAlmani
9 months, 2 weeks ago
N N Y The Backup Configuration settings is for the production slots ONLY
upvoted 1 times
...
Superego
12 months ago
As per my understanding, for box 2 - Y The test slot backup should be handled by Azure automatically and the default back strategy is "App backups happen automatically every hour."
upvoted 1 times
...
KotNinja
1 year, 1 month ago
Yes, Yes, and Yes. 1) On January 15, 2021, App1 will have only one backup in storage. App1 backs up every day and keeps at least one backup. However, the retention period for App1 is 0 days, meaning that any backup older than the most recent one is immediately deleted. Since App1 backs up every day, on January 15, App1 will indeed have only the backup from January 15 in storage. Answer: Yes 2) On February 6, 2021, you can access the backup of the App2 test slot from January 15, 2021. App2 backs up every day with a retention period of 30 days. Thus, the backup from January 15, 2021, would be retained until February 14, 2021. So, on February 6, you can still access the backup from January 15. Answer: Yes 3) On January 15, 2021, you can restore the backup of the App2 production slot from January 6, 2021. For App2, the backup from January 6, 2021, will be retained until February 5, 2021 (because of the 30-day retention period). So, you can indeed restore from this backup on January 15. Answer: Yes
upvoted 7 times
...
Faust777
1 year, 1 month ago
NNY On January 15, 2021, App1 will have only one backup in storage: No. App1 is configured to backup every day starting from January 6, 2021, and retains each backup for 30 days. So on January 15, 2021, there will be 10 backups in storage (from January 6 to January 15). On February 6, 2021, you can access the backup of the App2 test slot from January 15, 2021: No. The backup configuration settings provided are for the production slots of App1 and App2. Unless the test slots have the same settings, we cannot assume that a backup from January 15, 2021 for the App2 test slot will be accessible on February 6, 2021. On January 15, 2021, you can restore the App2 production slot backup from January 6 to the App2 test slot: Yes. The backups for App2 are retained for 30 days. So a backup from January 6 would still be available on January 15 and could be restored to any slot including the test slot.
upvoted 6 times
kennie0
1 year, 1 month ago
NNY On January 15, 2021, App1 will have only one backup in storage: No. App1 is configured to backup every day starting from January 6, 2021, and retains each backup for 30 days. So on January 15, 2021, there will be 10 backups in storage (from January 6 to January 15). But you didnt mention that the question says rentention day is zero
upvoted 2 times
...
...
RickySmith
1 year, 3 months ago
NYY Assumption - Basic tier is not used. Some inferences here. Since only production specs are specified, production backup is custom, test backup is automatic. 1)N - Set to 0 for indefinite retention. https://learn.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest#az-webapp-config-backup-update-optional-parameters 2)Y - Test backup is automatic. https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#automatic-vs-custom-backups 3)Y - You can restore a backup by overwriting an existing app by restoring to a new app or slot. https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#back-up--restore-vs-disaster-recovery In a nutshell, depending on how you interpret the question, the answers can be right or wrong. This is a good example of a miserable question.
upvoted 8 times
D_Rin
8 months, 3 weeks ago
I don't think Y is the answer for the second question, it doesn't make sense since in the table of the question it is specified that backup is set every day. Though in the link you provided web app backup for automatic is set to every hour. So, there's a conflict there
upvoted 1 times
...
pcfixok
1 year, 2 months ago
I think you're right. Thank you.
upvoted 1 times
...
...
Josete1106
1 year, 4 months ago
Y N Y is correct!
upvoted 1 times
...
RandomNickname
1 year, 5 months ago
Agree with NNY and with comments. 1: No 0 means retain all backups. ""Select your retention. Note that 0 means never delete backups." See; https://petri.com/backing-azure-app-service/ 2: No only production is backed up as per exam question. 3: Y: As far as I can find can be restored to any slot. See; See; https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#back-up--restore-vs-disaster-recovery "Specify the restore destination in Choose a destination. To restore to a new app, select Create new under the App Service box. To restore to a new deployment slot, select Create new under the Deployment slot box. If you choose an existing slot, all existing data in its file system is erased and overwritten. The production slot has the same name as the app name."
upvoted 3 times
...
xRiot007
1 year, 6 months ago
N - 0 means indefinite days, not zero days. N - test slots are not backed up N - test slots are not backed up.
upvoted 3 times
xRiot007
1 year, 6 months ago
Correction. Last Box is Yes : you can restore a production backup to the test slot.
upvoted 5 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 ...