AZ-500 · Question #451
AZ-500 Question #451: Real Exam Question with Answer & 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 nami
Question
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 assign the policy to Sub1. You plan to create the resources 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. Answer:
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.