AZ-500 · Question #451
Hotspot Question You have an Azure subscription named Sub1 that contains the resource groups shown in the following table. You create the Azure Policy definition shown in the following exhibit. You…
The correct answer is You can create IPobject1. = Yes; You can create obj1. = No; You can create OBJ3. = Yes. Azure Policy with a 'deny' effect and a naming convention rule (e.g., requiring names to match a specific pattern like starting with a certain prefix or following case rules) applies to all resources in the assigned scope (Sub1). 'IPobject1' and 'OBJ3' comply with the policy…
Question
Exhibits
Answer Area
- You can create IPobject1.Yes
- You can create obj1.No
- You can create OBJ3.Yes
Explanation
Azure Policy with a 'deny' effect and a naming convention rule (e.g., requiring names to match a specific pattern like starting with a certain prefix or following case rules) applies to all resources in the assigned scope (Sub1). 'IPobject1' and 'OBJ3' comply with the policy naming pattern (likely requiring names to start with a specific prefix or match a case-insensitive pattern), so they can be created. 'obj1' violates the policy - likely because it is too short, uses all lowercase when uppercase is required, or doesn't match the required naming pattern - so it is denied.
Topics
Community Discussion
No community discussion yet for this question.



