Skip to main content
  1. Public practice questions
  2. AZ-900 Practice Exams | Azure Fundamentals
  3. Domain 2-Describe Azure architecture and services | AZ-900 Practice Exam | 399 Questions

Question 130 — Domain 2-Describe Azure architecture and services | AZ-900 Practice Exam | 399 Questions

For each statement below, indicate whether the answer is True or False.

Response matrix
ItemTrue False
Azure Functions and Azure App Service are both serverless. □□
Azure Functions always run indefinitely, similar to Virtual Machines. □□
Azure App Service supports automatic scaling. □□
Azure Functions are ideal for long-running background tasks that last several hours □□

Correct answers

  1. Azure Functions and Azure App Service are both serverless. → False
  2. Azure Functions always run indefinitely, similar to Virtual Machines. → False
  3. Azure App Service supports automatic scaling. → True
  4. Azure Functions are ideal for long-running background tasks that last several hours → False

Explanations

  • False: Azure Functions are serverless, but Azure App Service is not inherently serverless. App Service requires underlying infrastructure management, while Functions operate on an event-driven, pay-as-you-go model.

  • False: Azure Functions are event-driven and do not run indefinitely. They are designed to execute a function in response to an event and deallocate resources after execution, unlike Virtual Machines, which run continuously.

  • True: Azure App Service supports automatic scaling based on predefined rules, traffic demands, and load balancing to ensure high availability and performance.

  • False: Azure Functions are best suited for short-lived, event-driven tasks. If an operation needs to run for hours, it is better to use Virtual Machines or WebJobs instead of Azure Functions, which have execution time limits.

Azure Functions and Azure App Service are both serverless.

Azure Functions always run indefinitely, similar to Virtual Machines.

Azure App Service supports automatic scaling.

Azure Functions are ideal for long-running background tasks that last several hours