Microsoft AZ-305 (Designing Microsoft Azure Infrastructure Solutions) Practice Test 3

Question 20

A company needs to report Azure costs by owning department across resource types and subscriptions. What governance convention should it enforce?

  1. A consistent department or cost-center tagging standard
  2. Use VM computer names as the sole cost identifier
  3. Rely only on Azure region names
  4. Assign every resource a public IP address

Explanation

Correct Answer

A:

Required tags provide allocation dimensions across resources; policy can assess or add supported tags and reports can aggregate labeled resources.

Incorrect Answers

B:

Compute hostnames omit PaaS, storage, and networking services and are unreliable cross-service allocation labels.

C:

Regions describe resource locations, not business department ownership for shared clouds.

D:

Public IPs have no relation to departmental accountability and introduce cost and exposure.

Question 21

The architect must choose two measures for an API's availability during rolling infrastructure updates. Which pair is most relevant? Choose TWO.

  1. Disable readiness checks permanently
  2. Run multiple independently healthy application replicas
  3. Make the API depend on one worker in a single zone
  4. Require every request to use a primary VM's ephemeral IP
  5. Use health-based traffic removal and gradual rollout

Explanation

Correct Answers

B:

Redundant instances keep capacity available while individual nodes are updated or replaced, assuming shared dependencies are resilient.

E:

Probes and controlled updates avoid sending traffic to terminating or unready replicas during maintenance.

Incorrect Answers

A:

Without readiness signals, deployment automation may route requests before a new instance can respond correctly.

C:

A single serving instance exposes users to downtime whenever that instance is updated.

D:

A per-instance ephemeral address is fragile under node replacement and obstructs health-based failover.

Question 22

A public API handles both short interactive requests and compute-heavy report generation. Which architecture lowers response latency during long reports?

  1. Scale web front ends without separating report execution
  2. Store report job state in a browser cookie only
  3. Asynchronous request-acceptance with queued background reporting jobs
  4. Run each large report synchronously in the HTTP request thread

Explanation

Correct Answer

C:

A quick response can return a job identifier while workers perform reports independently; clients poll or receive completion events.

Incorrect Answers

A:

Extra API replicas help temporarily but still couple expensive batch compute to interactive latency.

B:

Client cookies do not coordinate durable server-side job completion and retries across worker crashes.

D:

Long computations tie up web request capacity and are more prone to client and gateway timeouts.

Question 23

A legacy vendor appliance requires administrator control of the operating system, custom kernel settings, and a vendor-supplied installation package. Which hosting model fits?

  1. Azure App Service
  2. Azure Functions Consumption
  3. Azure Container Apps
  4. Azure Virtual Machines

Explanation

Correct Answer

D:

IaaS provides guest OS and software installation control for a supported image, while the team retains patching, configuration, and availability duties.

Incorrect Answers

A:

App Service manages the runtime platform and does not offer arbitrary guest kernel customization for a packaged appliance.

B:

Functions executes triggered code in a managed runtime and is not an OS-controlled appliance hosting environment.

C:

A managed container platform does not expose host kernel administration for arbitrary operating-system modifications.

Question 24

An application has low business value, runs on an end-of-life system, and has no replacement need. Which Cloud Adoption Framework migration strategy is most defensible?

  1. Rehost the workload without evaluating business value
  2. Retire the workload instead of migrating it
  3. Refactor the entire application to microservices
  4. Repurchase an expensive SaaS replacement automatically

Explanation

Correct Answer

B:

Retirement removes obsolete services and avoids carrying security risk and operating cost into the cloud when the business no longer needs them.

Incorrect Answers

A:

Moving obsolete software creates ongoing cloud cost and can retain end-of-life vulnerabilities for no justified outcome.

C:

Modernizing a retired business capability wastes engineering investment and increases delivery risk.

D:

Buying new software is unnecessary if the business function itself is no longer required.

Question 25

A tenant-facing SaaS app has uneven demand across regions and wants to avoid one region becoming overloaded while another is idle. What capacity practice matters?

  1. Ignore per-region utilization because total global CPU is low
  2. Regional scaling signals and policy aligned with routing behavior
  3. Use only backup success as a scaling signal
  4. Assign the same resource-group name to each region

Explanation

Correct Answer

B:

Capacity must be planned per region and coordinated with global traffic distribution so healthy regions can absorb shifted traffic during demand spikes or outages.

Incorrect Answers

A:

Aggregate capacity can hide a region-specific bottleneck that causes users to experience failures.

C:

Backups establish recoverability but do not reflect live workload demand or healthy serving capacity.

D:

Resource names do not scale applications or shift user requests away from overloaded origins.

Question 26

An Azure Cosmos DB for NoSQL container stores delivery-status documents. A downstream search index must refresh after inserts and updates without repeatedly scanning the entire container; deletions and every intermediate version are not required. Which design should be selected?

  1. Run a full SELECT * scan of the transactional container every minute
  2. Query the analytical store only after a nightly batch refresh
  3. Consume the latest-version Cosmos DB change feed with a supported processor or trigger and durable checkpoints
  4. Set a short container TTL and rebuild the search index whenever items expire

Explanation

Correct Answer

C:

The Cosmos DB change feed exposes inserts and updates for incremental consumers; latest-version mode matches a search-index updater that does not require every interim modification or delete event. A processor or supported trigger can checkpoint progress and recover from interruptions.

Incorrect Answers

A:

A full transactional scan repeatedly consumes request units for unchanged items and becomes expensive as the container grows. It also lacks a natural checkpoint for incremental indexing.

B:

Analytical queries can support reporting but are not the mechanism requested for reacting to new or modified records as they occur. The design calls for incremental operational changes rather than scheduled batch analysis.

D:

Time to live removes documents according to retention settings, notifies no dedicated search updater of all inserts and modifications, and can remove data the primary application still needs. Expiry is different from change capture.

Question 27

A database must comply with requirements to prevent its data being read through stolen physical storage media. Which built-in protection should be retained?

  1. Only Azure SQL auditing
  2. Transparent data encryption at rest
  3. Only a SQL read replica
  4. Only an Azure SQL firewall rule

Explanation

Correct Answer

B:

TDE encrypts database files and backups at rest, mitigating storage-media exposure while requiring separate network and identity controls.

Incorrect Answers

A:

Auditing records activity for investigation but does not provide encryption of the database files.

C:

Replicas improve availability and read scale but are not a substitute for encryption at rest.

D:

A firewall narrows network access but does not encrypt the stored database contents on physical media.

Question 28

A security architect needs to exempt one legacy resource from a policy assignment for a documented deadline, without modifying the policy for everyone. Which mechanism fits?

  1. Change the resource's cost tag
  2. An Azure Policy exemption scoped to that resource
  3. Delete the entire policy assignment
  4. Add subscription Owner to the resource team

Explanation

Correct Answer

B:

Exemptions record justified exceptions with optional expiration and avoid weakening a policy assignment for compliant resources.

Incorrect Answers

A:

Cost tags cannot override a deny policy unless the policy explicitly defines such a parameterized exception.

C:

Deleting the assignment removes enforcement for every resource in its scope, broader than the temporary exception.

D:

Granting privileges does not exempt the resource from policy evaluation and increases risk.

Question 29

A team wants to know if every planned VM is actually protected and whether recent backups succeeded. What governance process should accompany backup policies?

  1. Assume a policy assignment automatically proves every backup is restorable
  2. Require no recovery drills to avoid disruption
  3. Backup monitoring, alerting, and periodic recovery tests
  4. Use only VM uptime dashboards

Explanation

Correct Answer

C:

Protection state and backup jobs show coverage, while actual restore exercises verify that recovery points can produce usable applications.

Incorrect Answers

A:

Configuration intent does not establish job success, support, data consistency, or the practical recovery path.

B:

Without test restores, dependency and permission failures may remain undiscovered until a disaster.

D:

Uptime describes current availability and provides no evidence of valid recovery points after an incident.

Question 30

A security team wants to permit HTTP to an application subnet only from a trusted subnet, without inspecting HTTP payloads. Which control best fits?

  1. Azure DNS Private Resolver only
  2. Network security group rules on the relevant subnet or interface
  3. A storage account lifecycle policy
  4. Azure Front Door WAF as the only private subnet rule

Explanation

Correct Answer

B:

NSGs allow or deny traffic by source, destination, protocol, and port at network boundaries without requiring a Layer-7 proxy.

Incorrect Answers

A:

DNS resolution cannot stop packets from an untrusted source subnet once addresses are known.

C:

Object retention and tier transitions cannot filter inbound TCP port 80 to virtual machines.

D:

A public web WAF does not replace basic private traffic filtering on VM subnets.

Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests