You are configuring Azure Policy for your organization. What does a policy definition primarily specify?
AAllowed or denied actions
BBudget limits for subscriptions
CNetwork security group rules
DVirtual machine sizes
Explanation
A policy definition specifies allowed or denied actions, whereas others pertain to resource governance.
Q12
A company needs to secure its data transit between Azure services. Which protocol should be enforced?
AHTTPS
BFTP
CHTTP
DTelnet
Explanation
HTTPS encrypts data during transit, while others do not ensure security.
Q13
Which Azure service helps secure application secrets?
AAzure Key Vault
BAzure Monitor
CAzure Active Directory
DAzure Blob Storage
Explanation
Azure Key Vault is designed specifically for managing secrets, keys, and certificates, whereas other options do not focus solely on secret management.
Q14
A company needs to grant temporary access to an external vendor for specific documents in Azure Storage. Which approach should they use?
AShared Access Signature (SAS)
BAzure Role-Based Access Control (RBAC)
CPublic URL
DStorage Account Key
Explanation
Shared Access Signatures (SAS) allow temporary access to resources without compromising the Storage Account Key, while the other options either grant permanent access or are less secure for such needs.
Q15
What happens when an Azure policy is assigned to a management group?
APolicy applies to all subscriptions.
BOnly resource groups are affected.
CNo effect on any resource.
DPolicy only applies to management group.
Explanation
Assigning a policy at the management group level ensures all child subscriptions inherit the policy, while the other options misunderstand the hierarchy and scope of Azure policies.
Q16
Which Azure service is primarily used for threat protection in cloud environments?
AAzure Security Center
BAzure Virtual Network
CAzure DevOps
DAzure Blob Storage
Explanation
Azure Security Center provides comprehensive threat protection, while the others serve different functions.
Q17
A company needs to restrict access to an Azure resource for users from specific countries only. Which feature should they configure?
ANetwork Security Groups
BAzure Policy
CService Endpoints
DGeo-filtering in Azure Firewall
Explanation
Geo-filtering in Azure Firewall can limit access based on geographic locations; the others do not provide this feature.
Q18
What happens when an Azure Role-Based Access Control (RBAC) role is modified to lower permissions on a resource level?
APermissions are retained at user level
BPermissions are erased permanently
COnly new users are affected
DPreviously granted permissions are revoked
Explanation
Modifying RBAC roles affects all users immediately by revoking previously granted permissions at that resource level.
Q19
Which Azure service offers unified security management and advanced threat protection?
AAzure Security Center
BAzure Blob Storage
CAzure Logic Apps
DAzure Load Balancer
Explanation
Azure Security Center provides unified security management.
Q20
A company needs to ensure that its Azure resources are only accessible from specific IP ranges. What should you configure?
ANetwork Security Group (NSG) rules
BAzure Active Directory roles
CAzure Policy assignments
DResource Locks
Explanation
NSG rules allow traffic control based on IP.