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 3 years, 2 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 97 times
5c3d677
1 year, 1 month 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
Blankenp
5 months, 3 weeks ago
What's truly scary is how quick you jumped to condescending the guy when his links are accurate.
upvoted 1 times
...
itismadu
9 months, 3 weeks 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 2 times
...
...
garmatey
2 years, 2 months ago
great, i love when they use zero and don't mean zero...
upvoted 44 times
hebbo777
1 year, 7 months ago
Hahaha crazy and confusing ,,, they can simply use unlimited shiittt
upvoted 5 times
...
...
Citmerian
2 years, 8 months 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
2 years, 2 months ago
Well sported ...Well done ..I totally missed it .
upvoted 3 times
...
MrJJ10
2 years, 6 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 4 times
...
tyohaina
2 years, 8 months ago
That's 'at least'. Not 'at most'
upvoted 2 times
...
...
...
bluefoot
Highly Voted 3 years, 2 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 34 times
RVivek
7 months, 3 weeks ago
Clear. Thank You
upvoted 1 times
...
DanishHassan
2 years, 10 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, 10 months ago
However, The Backup Configuration settings is provided for the production slots so answer is NO.
upvoted 9 times
...
...
...
cxze
Most Recent 2 months ago
App1 Backup Retention: Retention = 0 days, but "Keep at least one backup" = Yes. Azure retains only the latest backup (from Jan 15), deleting older backups immediately. App2 Test Slot Backup: The backup settings apply only to the production slot. Test slot backups are not configured, so no backup exists for the test slot on Jan 15. App2 Production Slot Restore: Retention = 30 days, so the Jan 6 backup is still available on Jan 15. Azure allows restoring a production slot backup to a test slot.
upvoted 1 times
...
t79homasdw
2 months, 2 weeks ago
NNY PER Mozbius: [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 https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#automatic-vs-custom-backups To ensure at least one Azure App Service app backup is always retained, you can enable the "Keep at least one backup" setting during the backup policy setup. This setting guarantees that even if other backups are deleted due to retention rules, one backup will always be kept. This setting is meant as a safeguard against accidental deletion but itself does not delete any existing backups.
upvoted 1 times
...
GreenTick
3 months, 2 weeks ago
AI said: In Azure Backup, setting retention to "0" means backups are immediately deleted and no longer kept, effectively disabling long-term retention and allowing for manual deletion of backups.
upvoted 1 times
...
ManfredAppleWhite
3 months, 3 weeks ago
Y-N-Y Where in the hell is there an indication that test slot backups are enabled??? y'all drive me crazy on this forum...
upvoted 1 times
...
Bravo_Dravel
5 months, 2 weeks ago
Answer YNY setting the daily backup retention period to 0 does not mean the backup is kept indefinitely. It means that the backup data is not retained for any specific number of days. However, if you enable the "Keep at least one backup" option, Azure ensures that at least one backup is always retained, regardless of the retention period setting
upvoted 2 times
...
joolitan
9 months, 3 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 2 times
...
rcbrasileiro
10 months 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 10 times
...
SrWalk49
11 months 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
11 months, 3 weeks ago
YNY Jan 15 have 1 backup test app have no back up App 2 have 30 days retention
upvoted 3 times
...
tashakori
1 year, 3 months ago
No No Yes
upvoted 2 times
...
Amir1909
1 year, 4 months ago
- No - No - Yes
upvoted 2 times
...
AAlmani
1 year, 4 months ago
N N Y The Backup Configuration settings is for the production slots ONLY
upvoted 1 times
...
Superego
1 year, 7 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, 8 months 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 9 times
...
Faust777
1 year, 9 months 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, 9 months 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
...
...
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 ...