Courseiva

AZ-305 Design infrastructure solutions Practice Question

A startup is building a web application that will be used by a small number of users initially but is expected to grow rapidly. The application runs on Linux and uses a PostgreSQL database. The company wants to minimize operational overhead and costs during the early stages. You need to recommend a platform as a service (PaaS) solution for both the application and the database. What should you recommend?

⚠ Common exam trap

The trap here is that candidates may over-engineer the solution by choosing AKS (Option B) for its scalability features, forgetting that PaaS services like App Service can also scale automatically with far less operational burden, especially for a startup with initially few users.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Deploy the application on Azure App Service for Linux and use Azure Database for PostgreSQL.

Azure App Service for Linux provides a fully managed PaaS environment for hosting web applications, handling scaling, patching, and load balancing with minimal operational overhead. Azure Database for PostgreSQL is a managed PaaS database service that offers built-in high availability, automated backups, and scaling, which aligns with the startup's need to minimize costs and operational complexity during rapid growth.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Deploy the application on Azure App Service for Linux and use Azure Database for PostgreSQL.

    Why this is correct

    Azure App Service for Linux is an enterprise-grade PaaS that fully manages the application runtime and operating system patching, with built-in load balancing, TLS termination, and autoscaling. Pairing it with Azure Database for PostgreSQL yields a fully managed relational database with automated backups, high availability, and predictable scaling, eliminating both application- and data-tier administrative chores. This combination keeps the startup focused only on business logic and precisely satisfies the requirement to minimize operational overhead.

  • ✗

    Deploy the application on Azure Kubernetes Service (AKS) and use Azure Database for PostgreSQL.

    Why it's wrong here

    AKS supplies a resilient Kubernetes control plane, but it imposes ongoing cluster lifecycle duties on the development team: managing node pools, patching the OS and kubelet, configuring ingress controllers, monitoring resource quotas, and upgrading Kubernetes versions. Even though Azure Database for PostgreSQL reduces database admin, the containerized app still must be built, configured, and operated as a workload on the cluster, which substantially exceeds the management overhead of a single App Service instance. This trade-off only pays off for larger microservice teams and custom infrastructure requirements, not for a startup's straightforward web application.

  • ✗

    Deploy the application as Azure Functions and use Azure Cosmos DB for storage.

    Why it's wrong here

    Azure Functions is a serverless compute platform optimized for event-driven triggers and transient execution, with a maximum execution timeout and cold-start latency that make it unsuitable for consistent, stateful web request serving to users. Cosmos DB is a NoSQL, multi-model database, not a relational PostgreSQL source, so any existing SQL schema, joins, transactions, or object-relational mapping would require substantial redesign. The combination fails both the compute model and the relational storage expectations of a typical web application.

  • ✗

    Deploy the application on Azure Virtual Machines and use PostgreSQL on the same VM.

    Why it's wrong here

    Deploying on Azure Virtual Machines creates an IaaS footprint where the startup is solely responsible for patching the guest OS, installing PostgreSQL, managing backups and high availability, storing database files, and handling scaling via VM resizing or replicated endpoints. Additionally, hosting the web app and database on the same VM couples compute and storage on one hardware boundary, creating a single point of failure and making it impossible to independently scale either tier. This operational burden directly contradicts the requirement to minimize management overhead.

About these practice questions

Courseiva writes every AZ-305 question from scratch — 795 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-305 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-305 exam.