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 131–140 of 147

Q131

A company needs to store large amounts of unstructured data. Which Azure service is most suitable?

  • A Azure SQL Database
  • B Azure Blob Storage
  • C Azure Table Storage
  • D Azure Cosmos DB
Explanation Azure Blob Storage is optimized for unstructured data, unlike the relational or structured options.
Q132

What happens when you set a timeout of 10 seconds on an Azure Function?

  • A Function terminates after 10 seconds
  • B Function runs indefinitely
  • C Function is automatically retried
  • D Function logs an error
Explanation The function terminates if it exceeds the timeout limit, rather than retrying or continuing execution.
Q133

Which Azure service provides a fully managed Kubernetes environment?

  • A Azure Kubernetes Service
  • B Azure Container Instances
  • C Azure Functions
  • D Azure Logic Apps
Explanation Azure Kubernetes Service (AKS) simplifies deploying managed Kubernetes; the others do not provide a full Kubernetes experience.
Q134

A company needs to ensure that their application only accesses SQL Database from certain IP addresses. How can this be accomplished?

  • A Service Endpoints
  • B Azure Policies
  • C Network Security Groups
  • D IP Firewall Rules
Explanation IP Firewall Rules can restrict access to specific IPs; the other options do not directly control IP addresses.
Q135

You are configuring an Azure Function for an event-driven architecture. What happens when there are no incoming events?

  • A The function times out
  • B It consumes no resources
  • C It enters a paused state
  • D It generates log errors
Explanation Azure Functions in Consumption Plan use no resources when idle; the other options incorrectly suggest activity or resource consumption.
Q136

Which service provides a serverless compute experience in Azure?

  • A Azure Functions
  • B Azure VMs
  • C Azure App Service
  • D Azure Kubernetes Service
Explanation Azure Functions offers a serverless architecture, while the others are traditional compute services.
Q137

A company needs to store sensitive customer data securely in Azure. What should they use to manage access and encryption?

  • A Azure Key Vault
  • B Blob Storage
  • C Azure SQL Database
  • D Azure Blob Lifecycle Management
Explanation Azure Key Vault secures access to secrets and keys, whereas the others focus on storage functionalities.
Q138

You are configuring an Azure Function App. What is the maximum number of hosts you can configure in a Consumption plan?

  • A 15
  • B 100
  • C Never limited
  • D 1
Explanation In the Consumption plan, the number of hosts is dynamically allocated based on demand, with no hard limit.
Q139

You are configuring Azure Functions for a solution that needs to handle HTTP requests. Which of the following is the best way to expose an HTTP endpoint?

  • A Use an Azure Function of type HTTP Trigger
  • B Configure a Virtual Machine with a Web Server
  • C Set up Azure API Management
  • D Use Azure Logic Apps for HTTP calls
Explanation An HTTP Trigger in Azure Functions is designed specifically for handling HTTP requests, while the other options do not directly serve this purpose.
Q140

A company needs to ensure its Azure application can scale automatically based on demand. Which Azure service allows this?

  • A Azure Logic Apps
  • B Azure App Service Autoscale
  • C Azure Virtual Machine Scale Sets
  • D Azure Kubernetes Service (AKS)
Explanation Azure App Service Autoscale automatically adjusts resources according to demand, while the other options require more management for auto-scaling.