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 AZ-305 Exam - Topic 1 Question 77 Discussion

Actual exam question for Microsoft's AZ-305 exam
Question #: 77
Topic #: 1
[All AZ-305 Questions]

You have an Azure subscription.

You need to implement a policy to ensure that all new resource groups include a value for a tag named Department.

The solution must ensure that if a value is NOT entered for the Department tag, a resource group is created.

Which effect should you use?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Bulah
3 months ago
Just to clarify, if you use deny, it won't create anything, right?
upvoted 0 times
...
Basilia
3 months ago
I thought D would be the answer, but B seems better.
upvoted 0 times
...
Goldie
3 months ago
Wait, can you really create a resource group without a tag? Sounds odd.
upvoted 0 times
...
Layla
4 months ago
Totally agree with B! It makes sense.
upvoted 0 times
...
Renato
4 months ago
I think the right choice is B, modify.
upvoted 0 times
...
Lindsey
4 months ago
I’m leaning towards "manual" since it allows for human intervention, but that doesn’t seem efficient for enforcing a tag like Department.
upvoted 0 times
...
Rodolfo
4 months ago
I practiced a similar question where we had to enforce tagging, and I feel like "deployIfNotExists" could be relevant, but it sounds more like it would create resources rather than just enforce tagging.
upvoted 0 times
...
Novella
5 months ago
I'm not entirely sure, but I remember something about "deny" preventing the creation of resources if certain conditions aren't met. That doesn't seem to fit here.
upvoted 0 times
...
Una
5 months ago
I think the "modify" effect might be the right choice since it can ensure that the tag is added if it's missing.
upvoted 0 times
...
Brice
5 months ago
Hmm, this is a tricky one. I'm leaning towards B. modify, but I want to double-check the details of each effect to make sure I'm not missing anything. I don't want to get this one wrong on the exam.
upvoted 0 times
...
Celeste
5 months ago
I'm pretty confident the answer is B. modify. That way, if the Department tag is missing, the policy will add it with a default value, but the resource group will still be created. The other options don't seem to match the requirements as well.
upvoted 0 times
...
Noemi
5 months ago
I'm a bit confused by the wording of the question. Does "if a value is NOT entered for the Department tag, a resource group is created" mean the resource group should be created even without the tag? That would rule out deny, I think.
upvoted 0 times
...
Rhea
5 months ago
Okay, let's see. We need to implement a policy to ensure all new resource groups have a Department tag, but the resource group should still be created even if the tag is missing. I'm thinking modify might be the right effect to use here.
upvoted 0 times
...
Svetlana
5 months ago
Hmm, this looks like a tricky one. I'll need to think carefully about the requirements and the different options.
upvoted 0 times
...

Save Cancel