Microsoft Azure

Developing Solutions for Microsoft Azure

AZ-204
Popular

The AZ-204 exam assesses your ability to develop solutions on Microsoft Azure.

147 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 61–70 of 147

Q61

Which Azure service offers serverless compute for event-driven code?

  • A Azure Functions
  • B Azure Virtual Machines
  • C Azure Blob Storage
  • D Azure 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?

  • A Azure Autoscale
  • B Azure Load Balancer
  • C Azure Traffic Manager
  • D Azure 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?

  • A Secret is permanently deleted
  • B Secret goes to quarantine
  • C Secret becomes inaccessible
  • D Secret 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?

  • A Azure API Management
  • B Azure Function Apps
  • C Azure Logic Apps
  • D Azure 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?

  • A Enable role assignments for the database
  • B Create a public IP for the database
  • C Set up a virtual network gateway
  • D Register 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?

  • A It automatically restarts
  • B It throws an error and fails
  • C It continues running indefinitely
  • D It 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?

  • A Azure Functions
  • B Azure Static Web Apps
  • C Azure App Service
  • D Azure 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?

  • A Azure SQL Database with encryption
  • B Azure Blob Storage without encryption
  • C Azure Table Storage with public access
  • D Azure 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?

  • A Reduced performance due to monitoring
  • B Enhanced performance monitoring and diagnostics
  • C Automatic scaling of resources
  • D Code 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?

  • A Azure Functions
  • B Azure SQL Database
  • C Azure Blob Storage
  • D Azure Virtual Machines
Explanation Azure Functions provides serverless execution that scales automatically, whereas the others are not designed for auto-scaling data processing tasks.