New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-420 Exam - Topic 15 Question 40 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 40
Topic #: 15
[All DP-420 Questions]

You have an Azure Cosmos DB database that hosts a container named container1.

You need to ensure that the items stored in contained will NOT expire unless their TTL value is set explicitly. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Carmela
3 months ago
Null might be a good option too, but I lean towards B.
upvoted 0 times
...
Sue
3 months ago
Wait, can you really set it to -1? That sounds odd.
upvoted 0 times
...
Erick
3 months ago
Definitely going with B, seems like the best choice.
upvoted 0 times
...
Bettina
4 months ago
I thought removing the property would work too?
upvoted 0 times
...
Herschel
4 months ago
Option B is correct! Setting it to -1 disables TTL.
upvoted 0 times
...
Kayleigh
4 months ago
I believe setting it to -1 is the standard way to ensure items don't expire, but I might be mixing it up with another concept.
upvoted 0 times
...
Jamika
4 months ago
I practiced a similar question where we had to set TTL values, but I can't recall if setting it to null is the right approach here.
upvoted 0 times
...
Anjelica
4 months ago
I'm not entirely sure, but I feel like removing the DefaultTimeToLive property could also prevent expiration.
upvoted 0 times
...
Vicky
5 months ago
I think I remember that setting the DefaultTimeToLive property to -1 means items won't expire unless specified.
upvoted 0 times
...
Eleonore
5 months ago
I've got a good feeling about option C. Removing the DefaultTimeToLive property seems like the way to go to ensure the items don't expire unless the TTL is set manually.
upvoted 0 times
...
Weldon
5 months ago
Alright, let me break this down. If we want the items to not expire unless the TTL is set explicitly, then I think the answer is to remove the DefaultTimeToLive property.
upvoted 0 times
...
Lai
5 months ago
I'm a bit confused by the wording of the question. Does "NOT expire" mean the items should never expire, or that they should only expire if the TTL is set explicitly?
upvoted 0 times
...
Claudia
5 months ago
Okay, let me see here. I think the key is to understand what the DefaultTimeToLive property does and how it affects item expiration.
upvoted 0 times
...
Josefa
5 months ago
Hmm, this seems like a tricky one. I'll need to think carefully about the options and how they relate to the question.
upvoted 0 times
...
Aileen
5 months ago
I'm a bit confused by the options here. I'm not entirely sure what GRES and commit synchronization refer to in the context of NSR configuration. I'll need to review some additional materials to make sure I understand this properly.
upvoted 0 times
...
Talia
5 months ago
Okay, let's see here. The key information seems to be that the network engineer is unable to select the hubs in the Internet Backhaul Policy. I'll need to think through the possible reasons for that.
upvoted 0 times
...
Marvel
5 months ago
This is a tricky one, but I feel pretty confident I can figure it out. I just need to make sure I understand how the different policy levers impact the balance of payments.
upvoted 0 times
...
Leatha
10 months ago
I heard the Azure Cosmos DB team came up with this question while they were on a coffee break. They were like, 'Hey, let's see if we can confuse the heck out of everyone!' Well, joke's on them, because I'm going to rock this exam!
upvoted 0 times
Chauncey
9 months ago
C) Remove the DefaultTiiwroLive property.
upvoted 0 times
...
Margurite
9 months ago
B) Set the DefaultTineToLive property to -l.
upvoted 0 times
...
Lili
10 months ago
A) Set the DefaulttimtoLive property to e.
upvoted 0 times
...
...
Ulysses
10 months ago
Ah, the joys of Azure Cosmos DB questions. I'm going to have to go with C on this one. Removing the DefaultTimeToLive property sounds like the best way to keep those items from expiring.
upvoted 0 times
Scot
9 months ago
Yeah, C sounds like the right choice. Removing the DefaultTimeToLive property should do the trick.
upvoted 0 times
...
Gladys
9 months ago
I agree, removing the DefaultTimeToLive property seems like the best way to ensure items don't expire unless explicitly set.
upvoted 0 times
...
Buffy
9 months ago
I think C is the correct option. Removing the DefaultTimeToLive property should prevent items from expiring.
upvoted 0 times
...
...
Daren
10 months ago
Seriously, who comes up with these questions? I bet the developer who wrote this is just sitting back and laughing at us. Anyway, I'm going with C. It's the only option that makes sense to me.
upvoted 0 times
...
Merissa
10 months ago
Hmm, I'm a little unsure about this one. I was thinking maybe setting the DefaultTimeToLive to null might work, but I guess that's not the right answer. Oh well, back to the drawing board!
upvoted 0 times
Norah
10 months ago
User2: No, that's not correct. You should remove the DefaultTimeToLive property instead.
upvoted 0 times
...
Julian
10 months ago
User1: I think setting the DefaultTimeToLive property to null is the right answer.
upvoted 0 times
...
...
Jacklyn
11 months ago
Wow, this is a tricky one! I'm pretty sure the answer is C. The question says we need to ensure items don't expire unless the TTL is set explicitly, so removing the DefaultTimeToLive property seems like the way to go.
upvoted 0 times
Emmanuel
10 months ago
User1: Oh, I see. Thanks for clarifying!
upvoted 0 times
...
Lemuel
10 months ago
User3: I agree with User2, C seems like the correct choice.
upvoted 0 times
...
Chara
10 months ago
User2: No, I believe it's C.
upvoted 0 times
...
Earleen
10 months ago
User1: I think the answer is A.
upvoted 0 times
...
...
Kris
11 months ago
I see your point, but I still think setting it to -1 will work better.
upvoted 0 times
...
Chantell
11 months ago
No, I believe the correct answer is C) Remove the DefaultTimeToLive property.
upvoted 0 times
...
Kris
11 months ago
I think the answer is A) Set the DefaultTimeToLive property to -1.
upvoted 0 times
...

Save Cancel