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 11–20 of 147

Q11

What happens when an Azure Function times out?

  • A Execution stops immediately
  • B Function restarts automatically
  • C An exception is logged
  • D Function continues running asynchronously
Explanation If an Azure Function times out, the execution stops immediately without completing; other options suggest continuous or automatic responses.
Q12

You are configuring Azure AD for Single Sign-On. What is the key requirement?

  • A User must have a Microsoft account
  • B Service must support SAML or OAuth
  • C Application must be on-premises
  • D User must authenticate manually
Explanation Single Sign-On requires the application to support common protocols like SAML or OAuth; the other options do not involve necessary requirements.
Q13

What service provides unified billing for Azure services?

  • A Azure Cost Management
  • B Azure Marketplace
  • C Azure DevOps
  • D Azure Logic Apps
Explanation Azure Cost Management consolidates billing, others do not.
Q14

A company needs to store sensitive data with encryption at rest. Which Azure service should they use?

  • A Azure Blob Storage
  • B Azure Cosmos DB
  • C Azure SQL Database
  • D Azure Queue Storage
Explanation Azure SQL Database offers built-in encryption, while the others have different focus.
Q15

You are configuring Azure API Management. What happens if you set the subscription key requirement to 'required'?

  • A Public access granted for all APIs
  • B APIs accessible without authentication
  • C Users must provide a key to access APIs
  • D Subscriptions will be ignored
Explanation Setting it to 'required' enforces key usage.
Q16

Which service is best for serverless computing in Azure?

  • A Azure Functions
  • B Azure Blob Storage
  • C Azure Virtual Machines
  • D Azure SQL Database
Explanation Azure Functions is specifically designed for serverless architecture, while the others are full service offerings for storage and computing.
Q17

A company wants to secure its API by minimizing the chances of unauthorized access. What should they implement?

  • A Azure Active Directory Governance
  • B API Management with authentication
  • C Storage Account shared access signatures
  • D Virtual Network service endpoints
Explanation API Management allows secure access via authentication, while the other options do not focus specifically on API security.
Q18

You are configuring an Azure Function with a timer trigger to run every day at 8 AM. What happens if the Azure Function is running when it is time to trigger again?

  • A It will skip the trigger.
  • B It will enqueue the trigger.
  • C It will execute again immediately.
  • D It will execute once the first ends.
Explanation Timer triggers in Azure Functions support concurrent executions, so it will wait for the first execution to finish before starting another unless configured otherwise.
Q19

Which service is used for orchestration of microservices in Azure?

  • A Azure Kubernetes Service
  • B Azure Blob Storage
  • C Azure SQL Database
  • D Azure Web Apps
Explanation Azure Kubernetes Service is specifically designed for orchestrating microservices with containers, while the others are used for storage or web hosting.
Q20

A company needs to implement a messaging system for decoupling services. Which Azure service should they use?

  • A Azure Functions
  • B Azure Event Hubs
  • C Azure Service Bus
  • D Azure Logic Apps
Explanation Azure Service Bus is ideal for decoupling services via messaging, whereas the other options serve different purposes in Azure.