Which service allows orchestration of serverless workflows in Azure?
AAzure Logic Apps
BAzure Functions
CAzure Data Factory
DAzure Kubernetes Service
Explanation
Azure Logic Apps specializes in orchestrating workflows, unlike the other options.
Q32
A company needs to control access to its Azure resources based on user attributes. What should you implement?
AConditional Access Policies
BRBAC Role Assignment
CNetwork Security Groups
DManaged Identities
Explanation
Conditional Access Policies help in controlling access based on attributes, unlike the other options.
Q33
You are configuring Azure Policy to enforce tags on resources. What happens if a non-compliant resource is created?
AIt will be deleted immediately.
BIt will be allowed but flagged.
CIt will be corrected automatically.
DIt may be denied or flagged.
Explanation
Non-compliant resources can be denied or flagged, but not deleted automatically.
Q34
Which Azure service is primarily used for hosting web applications?
AAzure App Service
BAzure Kubernetes Service
CAzure Functions
DAzure Storage
Explanation
Azure App Service is designed for web hosting, while others serve different purposes.
Q35
A company needs to enforce multi-factor authentication for its users in Azure AD. What should they configure?
AConditional Access
BNetwork Security Groups
CAzure Sentinel
DAzure Firewall
Explanation
Conditional Access policies enable MFA enforcement, unlike the other options that serve different functions.
Q36
What happens when a virtual machine in Azure is shut down from within the OS, rather than through the Azure portal?
AVM stops consuming billing
BData on the VM is lost
CVM continues running in Azure
DVM remains in a stopped state
Explanation
The VM goes to a stopped state rather than being deallocated, which still incurs costs, unlike stopping through the portal which fully releases resources.
Q37
Which service is best for hosting static websites in Azure?
AAzure Blob Storage
BAzure SQL Database
CAzure Functions
DAzure Virtual Machines
Explanation
Azure Blob Storage is optimized for serving static content, unlike the other services listed.
Q38
A company needs to automate deployment of their Azure resources using code. What should they use?
AAzure DevOps
BAzure Key Vault
CAzure Monitor
DAzure Security Center
Explanation
Azure DevOps provides CI/CD pipelines for automation, while others serve different purposes.
Q39
You are configuring Azure Policy for resource compliance. What happens when a non-compliant resource is created?
AIt is automatically deleted
BIt remains but is flagged
CIt causes a deployment error
DIt reverts to compliant state
Explanation
Non-compliant resources are flagged but not deleted, unlike the options suggesting automatic deletion or reversion.
Q40
What happens when a user is assigned multiple roles in Azure AD?
AAll roles are applied consistently.
BThe most permissive role is applied.
CThe least permissive role is applied.
DConflicts are resolved automatically.
Explanation
Azure AD applies the most permissive role among assigned roles; other options misrepresent role resolution behavior.