Microsoft AZ-305 Practice Test Questions and Exam Dumps Part2 Q21-40

View Full Microsoft AZ-305 Exam Dumps and Practice Test Dumps

 

Question 21

A company is designing an Azure solution that must provide highly available access to a critical application. The application should remain available if an individual virtual machine fails. Which design should the architect recommend?

  1. Deploy one large virtual machine
  2. Use a single availability zone
  3. Store application data in Blob Storage
  4. Deploy multiple application instances behind a load balancer

Correct Answer: 4

Explanation

Deploying multiple application instances behind a load balancer improves availability by preventing a single virtual machine failure from taking the entire application offline. The load balancer distributes incoming requests across healthy instances and can stop sending traffic to an unhealthy instance. This design also provides a foundation for scaling the application as demand changes. A single large virtual machine or single availability zone creates greater dependency on individual infrastructure components. Blob Storage is useful for object data but does not itself provide application request distribution.

Question 22

An organization needs to provide secure access to Azure resources from an on-premises network over the public internet. Which connectivity solution should be recommended when a dedicated private circuit is not required?

  1. Azure ExpressRoute
  2. Azure VPN Gateway
  3. Azure Front Door
  4. Azure Application Gateway

Correct Answer: 2

Explanation

Azure VPN Gateway can establish encrypted connections between an on-premises network and an Azure virtual network using the public internet. This makes it suitable when an organization requires secure hybrid connectivity but does not need a dedicated private circuit. ExpressRoute provides private connectivity through a connectivity provider and is generally selected when dedicated network connectivity is required. Front Door focuses on global application delivery, while Application Gateway provides Layer 7 web traffic management. VPN Gateway is therefore an appropriate solution for secure internet-based hybrid connectivity.

Question 23

A company wants to store millions of documents and images that will be accessed directly by applications. Which Azure storage service should be used?

  1. Azure Blob Storage
  2. Azure Queue Storage
  3. Azure Files
  4. Azure Table Storage

Correct Answer: 1

Explanation

Azure Blob Storage is designed for storing large amounts of unstructured object data such as images, documents, videos, backups, and application files. It provides scalable storage that applications can access through supported APIs and endpoints. Queue Storage is intended for asynchronous messaging, Azure Files provides managed file shares, and Table Storage is designed for NoSQL key-value data. When an application needs scalable object storage for millions of documents and images, Blob Storage is the most appropriate architectural choice.

Question 24

An organization requires a database architecture that supports automatic scaling, global distribution, and multiple API models. Which Azure service should the architect consider?

  1. Azure SQL Managed Instance
  2. Azure Database for PostgreSQL
  3. Azure Cosmos DB
  4. SQL Server on Azure Virtual Machines

Correct Answer: 3

Explanation

Azure Cosmos DB is a globally distributed database platform designed for applications requiring low-latency access and flexible scalability. It supports multiple APIs and provides options for distributing data across Azure regions. Its architecture is well suited to applications that need global availability and highly responsive access to data. SQL Managed Instance and SQL Server on Azure virtual machines are primarily relational SQL-based options, while PostgreSQL is a relational database service. Cosmos DB is therefore the strongest choice for globally distributed, scalable application data.

Question 25

A web application needs to route users to different backend services based on URL paths such as /images and /orders. Which Azure service should be used?

  1. Azure Traffic Manager
  2. Azure Application Gateway
  3. Azure VPN Gateway
  4. Azure DNS

Correct Answer: 2

Explanation

Azure Application Gateway provides Layer 7 application-aware routing and can route HTTP or HTTPS requests based on information such as URL paths and host headers. This makes it suitable for applications where different request paths need to be directed to different backend services. Traffic Manager primarily performs DNS-based global traffic routing, VPN Gateway provides secure network connectivity, and Azure DNS handles domain name resolution. Application Gateway is therefore the appropriate service for path-based routing within a web application architecture.

Question 26

An enterprise wants to deploy a solution across multiple Azure regions and automatically direct users toward an available regional endpoint. Which service should be evaluated?

  1. Azure Managed Disks
  2. Azure Queue Storage
  3. Azure Traffic Manager
  4. Azure Bastion

Correct Answer: 3

Explanation

Azure Traffic Manager is a DNS-based traffic routing service that can direct users toward different application endpoints according to configured routing methods. It can be used in multi-region architectures to improve availability and distribute users among regional deployments. Depending on the configuration, Traffic Manager can consider endpoint health when determining where requests should be directed. Managed Disks provide VM storage, Queue Storage supports messaging, and Bastion provides secure VM administration. Traffic Manager is therefore appropriate for DNS-based routing across regional application endpoints.

Question 27

A company needs a relational database service that provides compatibility with SQL Server while reducing the need to manage the operating system. Which Azure service is most appropriate?

  1. Azure SQL Managed Instance
  2. Azure Cosmos DB
  3. Azure Table Storage
  4. Azure Data Lake Storage

Correct Answer: 1

Explanation

Azure SQL Managed Instance is a fully managed platform service designed to provide broad SQL Server compatibility while reducing infrastructure administration. It supports many SQL Server features and can be useful when migrating existing SQL Server workloads that require greater compatibility than Azure SQL Database may provide. Cosmos DB is a globally distributed NoSQL-oriented database platform, Table Storage provides NoSQL key-value storage, and Data Lake Storage is designed for analytics data. SQL Managed Instance is therefore appropriate for SQL Server-compatible workloads requiring managed infrastructure.

Question 28

An organization needs to expose an application running in Azure privately to consumers within a virtual network without assigning the application a public IP address. Which architecture should be recommended?

  1. Public load balancer
  2. Public IP endpoint
  3. Azure Traffic Manager
  4. Azure Private Link

Correct Answer: 4

Explanation

Azure Private Link enables private connectivity to supported Azure services or privately exposed applications through private endpoints. The consumer accesses the service through a private IP address within the virtual network rather than requiring a publicly accessible endpoint. This can reduce public exposure and improve network isolation. A public load balancer or public IP endpoint exposes services through public addressing, while Traffic Manager provides DNS-based routing. Azure Private Link is therefore the appropriate architectural approach when private access without a public IP is required.

Question 29

A company needs to migrate an existing SQL Server workload to Azure with minimal application changes while retaining control over the operating system. Which deployment option should be considered?

  1. Azure SQL Database
  2. Azure SQL Managed Instance
  3. SQL Server on Azure Virtual Machines
  4. Azure Cosmos DB

Correct Answer: 3

Explanation

SQL Server on Azure Virtual Machines provides organizations with control over the virtual machine operating system and SQL Server installation. This option can be appropriate when an existing workload requires operating system-level access, specialized configurations, or features that are not available in fully managed database services. Azure SQL Database and SQL Managed Instance reduce infrastructure management but provide less operating system control. Cosmos DB is designed for a different database model. SQL Server on Azure Virtual Machines is therefore suitable when control and compatibility are major requirements.

Question 30

An application must process large volumes of incoming telemetry in real time and perform continuous stream processing. Which Azure service should be considered?

  1. Azure Files
  2. Azure Stream Analytics
  3. Azure Backup
  4. Azure DNS

Correct Answer: 2

Explanation

Azure Stream Analytics is a managed real-time analytics service designed to process and analyze streaming data continuously. It can consume data from supported event and IoT sources and apply queries to identify patterns, calculate values, or transform incoming streams. Azure Files provides managed file shares, Backup protects data, and DNS provides name resolution. Stream Analytics is therefore the appropriate service when an architecture requires continuous processing and analysis of high-volume telemetry or event streams as data arrives.

Question 31

A company wants to design a solution where application components communicate through events without requiring direct connections between the sender and every receiver. Which service is most appropriate?

  1. Azure Event Grid
  2. Azure Managed Disks
  3. Azure VPN Gateway
  4. Azure DNS

Correct Answer: 1

Explanation

Azure Event Grid is designed for event-driven architectures where publishers generate events and subscribers react to those events. It helps decouple application components because producers do not need to maintain direct connections with every consumer. This pattern is useful for scenarios such as reacting to resource changes, triggering workflows, or notifying applications about events. Managed Disks provide VM storage, VPN Gateway provides network connectivity, and DNS manages name resolution. Event Grid is therefore an appropriate choice for loosely coupled, event-driven application architectures.

Question 32

An organization requires a globally distributed application with caching and acceleration capabilities at Microsoft’s edge locations. Which service should be included in the architecture?

  1. Azure Files
  2. Azure SQL Database
  3. Azure Front Door
  4. Azure Queue Storage

Correct Answer: 3

Explanation

Azure Front Door provides global application delivery capabilities using Microsoft’s distributed edge network. It can improve application responsiveness by routing users toward appropriate backend endpoints and can provide caching and acceleration capabilities for suitable workloads. Front Door also supports features such as health-based routing and web application firewall integration. Azure Files provides shared file storage, SQL Database provides relational data services, and Queue Storage supports asynchronous messaging. Azure Front Door is therefore appropriate for globally distributed applications that require edge-based delivery and acceleration.

Question 33

A business needs to ensure that users can access only the Azure resources required for their job responsibilities. Which access-control design should be recommended?

  1. Assign broad Owner permissions to all users
  2. Use Azure RBAC with least-privilege role assignments
  3. Give every user subscription-level access
  4. Use shared administrator credentials

Correct Answer: 2

Explanation

Azure role-based access control, or RBAC, allows organizations to assign permissions based on defined roles and scopes. Applying the principle of least privilege means users receive only the permissions necessary to perform their responsibilities. This reduces the risk associated with excessive access and helps improve security and governance. Granting broad Owner permissions, subscription-wide access, or shared administrator credentials can create unnecessary security exposure. Azure RBAC with carefully scoped least-privilege assignments is therefore the recommended access-control architecture.

Question 34

An application requires secure storage of encryption keys, certificates, and secrets while allowing authorized applications to retrieve them programmatically. Which Azure service should be used?

  1. Azure Monitor
  2. Azure Load Balancer
  3. Azure Service Bus
  4. Azure Key Vault

Correct Answer: 4

Explanation

Azure Key Vault is designed to securely manage sensitive information such as cryptographic keys, certificates, passwords, and application secrets. Applications can authenticate and retrieve required secrets programmatically without embedding sensitive values directly into source code. Key Vault can also support controlled access and integration with Azure identity services. Azure Monitor focuses on telemetry, Load Balancer distributes network traffic, and Service Bus provides messaging. Azure Key Vault is therefore the appropriate architectural service for centralized protection and management of application secrets and cryptographic material.

Question 35

A company wants to design an application that remains available when a single Azure datacenter experiences a failure. Which architecture provides the strongest protection within an Azure region?

  1. Deploy resources across availability zones
  2. Deploy everything on one virtual machine
  3. Use only locally redundant storage
  4. Place all resources in one fault domain

Correct Answer: 1

Explanation

Availability zones are physically separate locations within an Azure region, each with independent power, cooling, and networking infrastructure. Deploying application components across multiple availability zones can protect the application from a failure affecting one zone. This is stronger than placing all resources in a single location or relying only on local storage redundancy. A zone-redundant architecture can improve application availability while keeping workloads within the same Azure region. Therefore, deploying resources across availability zones is the recommended design for protection against a single-zone datacenter failure.

Question 36

An organization needs a centralized platform for analyzing logs from multiple Azure resources and querying them using a powerful query language. Which component should be included?

  1. Azure DNS
  2. Log Analytics workspace
  3. Azure Front Door
  4. Azure Data Box

Correct Answer: 2

Explanation

A Log Analytics workspace provides a centralized repository for collecting and analyzing log data from Azure resources, applications, and other supported sources. Administrators can query collected data using Kusto Query Language, or KQL, to investigate performance, security events, operational problems, and trends. Azure DNS handles name resolution, Front Door provides global application delivery, and Data Box supports physical data transfer. A Log Analytics workspace is therefore the appropriate component when an architecture requires centralized log collection and advanced querying capabilities.

Question 37

A company wants to deploy a workload using containers but does not want to manage Kubernetes clusters. Which Azure service should be considered?

  1. Azure Kubernetes Service
  2. Azure Container Apps
  3. Azure Virtual Machines
  4. Azure Managed Disks

Correct Answer: 2

Explanation

Azure Container Apps provides a managed environment for running containerized applications without requiring customers to directly manage a Kubernetes cluster. It is suitable for applications such as microservices, APIs, background jobs, and event-driven workloads where developers want container benefits with reduced infrastructure administration. AKS provides managed Kubernetes but still requires organizations to design and manage Kubernetes-related components and workloads. Virtual Machines require operating system management, while Managed Disks provide storage. Azure Container Apps is therefore appropriate when container hosting is required without direct Kubernetes cluster management.

Question 38

An enterprise wants to establish a centralized governance hierarchy across multiple Azure subscriptions. Which architecture should be recommended?

  1. Resource groups only
  2. Management groups
  3. Individual virtual machines
  4. Storage accounts

Correct Answer: 2

Explanation

Azure management groups provide a governance hierarchy above subscriptions. They allow organizations to organize multiple subscriptions into logical structures and apply governance controls, such as Azure Policy and role assignments, at broader scopes. Policies and permissions applied at a management group can help establish consistent governance across many subscriptions. Resource groups organize resources within subscriptions but do not provide the same cross-subscription governance structure. Management groups are therefore the appropriate architectural component for centralized governance across multiple Azure subscriptions.

Question 39

A company needs to protect a web application from common attacks such as SQL injection and cross-site scripting while traffic passes through a web gateway. Which component should be included?

  1. Network Security Group
  2. Azure VPN Gateway
  3. Web Application Firewall
  4. Azure DNS

Correct Answer: 3

Explanation

A Web Application Firewall, or WAF, is designed to protect web applications against common application-layer attacks, including patterns associated with SQL injection and cross-site scripting. WAF capabilities can inspect HTTP and HTTPS traffic and apply managed or custom rules to identify potentially malicious requests. Network Security Groups provide network traffic filtering but do not provide the same application-layer inspection. VPN Gateway provides secure connectivity, while DNS provides name resolution. A Web Application Firewall is therefore the appropriate component for protecting web applications against common HTTP-based attacks.

Question 40

An organization wants to create a resilient database architecture that can automatically replicate data to another Azure region for business continuity. Which capability should the architect evaluate?

  1. Locally redundant storage
  2. Single-zone deployment
  3. Geo-replication
  4. Temporary disk storage

Correct Answer: 3

Explanation

Geo-replication allows supported database services to maintain replicated copies of data in another Azure region. This can provide an important layer of business continuity by allowing organizations to recover or fail over to a secondary region when the primary region experiences a major outage. Local redundancy protects against certain failures within one location but does not provide regional protection. Single-zone deployment increases dependency on one zone, while temporary disk storage is not designed for durable database replication. Geo-replication is therefore the appropriate capability for regional database resilience.