What happens when a user is granted a role and then has a deny assignment made to that role?
AThe deny assignment prevails
BThe role is completely overridden
CThe user retains all permissions
DPermissions are reset to default
Explanation
Deny assignments take precedence over granted roles, effectively blocking permissions to users.
Q22
Which Azure service provides managed Kafka for real-time data streams?
AAzure Event Hubs
BAzure Stream Analytics
CAzure Data Lake
DAzure Functions
Explanation
Azure Event Hubs is designed for managing real-time data streams while the other options serve different purposes.
Q23
A company needs to manage permissions for their Azure resources dynamically based on user attributes. Which feature is best suited?
AManaged Identities
BAccess Control (IAM)
CRole-Based Access Control (RBAC)
DAzure Policy
Explanation
RBAC is specifically designed for attribute-based access control based on user roles while the others are general resource management features.
Q24
What happens when you delete a resource group in Azure?
AOnly the resources are deleted
BResources and tags are preserved
CAll contained resources are deleted
DThe deletion cannot be reversed
Explanation
Deletions of resource groups in Azure result in all contained resources being deleted, while the other options suggest preservation or completeness errors.
Q25
Which Azure service is used for build automation?
AAzure DevOps
BAzure Functions
CAzure Logic Apps
DAzure Virtual Machines
Explanation
Azure DevOps provides a complete CI/CD pipeline, while others serve different purposes.
Q26
A company needs a managed Kubernetes service. Which option should they choose?
AAzure Blob Storage
BAzure Bot Services
CAzure Kubernetes Service
DAzure App Service
Explanation
Azure Kubernetes Service offers managed Kubernetes; others do not provide container orchestration.
Q27
What happens when you set a virtual machine's network interface to 'Deallocated'?
AData is lost on the VM
BVM stops but retains settings
CCloud services will stop
DIP address becomes static
Explanation
Setting to 'Deallocated' stops the VM but keeps settings intact, while others describe actions that aren't correct.
Q28
Which service provides automatic scaling for web apps in Azure?
AAzure App Service
BAzure Functions
CAzure Kubernetes Service
DAzure Virtual Machines
Explanation
Azure App Service automatically scales web apps, while others require manual configuration or are not focused solely on web apps.
Q29
A company needs to ensure its Azure storage accounts are secure. What feature restricts access based on IP address ranges?
ANetwork Security Groups
BStorage Account Firewalls
CRole-Based Access Control
DAzure Key Vault
Explanation
Storage Account Firewalls enable restrictions based on IP addresses, unlike the other options which serve different security purposes.
Q30
You are configuring an Azure Logic App with a trigger. What happens if the trigger fails during execution?
AThe Logic App stops processing immediately
BThe Logic App retries the trigger
CThe Logic App completes with warnings
DThe Logic App executes a cleanup function
Explanation
Azure Logic Apps have built-in retry policies for trigger failures, unlike the other options which do not describe the correct behavior.