Which Azure service offers serverless compute for event-driven code?
AAzure Functions
BAzure Virtual Machines
CAzure Blob Storage
DAzure App Service
Explanation
Azure Functions is designed for executing code in response to events, while the other options serve different purposes.
Q62
A company needs to ensure its web application scales automatically based on the load. Which Azure feature should they implement?
AAzure Autoscale
BAzure Load Balancer
CAzure Traffic Manager
DAzure DevOps
Explanation
Azure Autoscale adjusts resources automatically, unlike the other options which manage traffic or deployment.
Q63
You are configuring Azure Key Vault. What happens if you delete a secret but do not enable soft delete?
ASecret is permanently deleted
BSecret goes to quarantine
CSecret becomes inaccessible
DSecret is archived for recovery
Explanation
Without soft delete, the secret is permanently deleted, while other options incorrectly suggest different outcomes.
Q64
Which service is best for managing APIs in Azure?
AAzure API Management
BAzure Function Apps
CAzure Logic Apps
DAzure Kubernetes Service
Explanation
Azure API Management is specifically designed for API management; the others do not focus on this feature.
Q65
A company needs to secure an Azure SQL Database using Managed Identity for their application. What must they do first?
AEnable role assignments for the database
BCreate a public IP for the database
CSet up a virtual network gateway
DRegister the application in Azure Active Directory
Explanation
Registering the application in Azure AD is required for enabling Managed Identity; the other options relate to different networking or permission configurations.
Q66
What happens when you deploy an Azure Function with a consumption plan and it reaches a timeout?
AIt automatically restarts
BIt throws an error and fails
CIt continues running indefinitely
DIt stops and returns a response
Explanation
With a consumption plan, exceeding the timeout causes the function to fail, whereas the others are not applicable behaviors.
Q67
Which service is best for event-driven microservices?
AAzure Functions
BAzure Static Web Apps
CAzure App Service
DAzure Blob Storage
Explanation
Azure Functions is ideal for event-driven architectures, while the others serve different purposes.
Q68
A company needs to store sensitive customer data securely. What should they use?
AAzure SQL Database with encryption
BAzure Blob Storage without encryption
CAzure Table Storage with public access
DAzure Functions for storage
Explanation
Using Azure SQL Database with encryption secures sensitive data, while other options lack adequate security.
Q69
What happens when you enable Application Insights in an Azure App Service?
AReduced performance due to monitoring
BEnhanced performance monitoring and diagnostics
CAutomatic scaling of resources
DCode deployment accelerator
Explanation
Application Insights provides real-time performance monitoring, while others do not directly impact monitoring.
Q70
A developer needs to implement a data processing job that can automatically scale based on demand. Which Azure service should they use?
AAzure Functions
BAzure SQL Database
CAzure Blob Storage
DAzure Virtual Machines
Explanation
Azure Functions provides serverless execution that scales automatically, whereas the others are not designed for auto-scaling data processing tasks.