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

Question 330

An organization has hundreds of global branches and many Azure regions and wants a managed transit architecture rather than manually maintaining a large mesh. What should it consider?

  1. Azure Virtual WAN hubs and secured connectivity as required
  2. Manually peer every possible pair of VNets and branches
  3. Azure Front Door as the corporate IP WAN
  4. A public DNS zone as the routing core

Explanation

Correct Answer

A:

Virtual WAN centralizes branch, VPN, ExpressRoute and VNet connectivity in managed hubs, with routing and inspection design suited to global scale.

Incorrect Answers

B:

A full mesh becomes operationally complex and ignores centralized transit and routing capabilities at scale.

C:

Front Door is for web application delivery and does not carry arbitrary branch private network traffic as a WAN hub.

D:

DNS maps names to addresses but does not establish hybrid private routing or tunnel termination.

Question 331

A distributed workflow includes payment, inventory reservation, and shipping, but no single transaction manager spans the services. Which architecture pattern fits?

  1. Disable error handling after payment succeeds
  2. Use an HTTP load balancer as the transaction coordinator
  3. A saga with compensating operations and explicit state transitions
  4. One database transaction across every independent external service

Explanation

Correct Answer

C:

A saga coordinates local transactions and recovery actions across services, accepting that distributed rollback is a business workflow rather than one ACID transaction.

Incorrect Answers

A:

Ignoring failures creates partially completed business operations that cannot be reliably reconciled.

B:

Request routing does not implement compensating actions or cross-service workflow state.

D:

A conventional local transaction cannot atomically commit across unrelated service-owned databases and payment gateways.

Question 332

An audit team must make stored Blob objects undeletable and unmodifiable for a legally mandated retention period, even by privileged storage operators. Which feature should be designed?

  1. Only Blob soft delete
  2. A can-not-delete lock on the storage account only
  3. Only LRS replication
  4. Immutable Blob Storage with time-based retention or legal hold

Explanation

Correct Answer

D:

WORM-style immutability can protect supported Blob versions against modification and deletion during configured retention obligations.

Incorrect Answers

A:

Soft delete helps recover deletions but does not enforce legally defensible protection against deliberate modifications by authorized operators.

B:

An ARM lock protects management operations on the account, not every Blob data-plane deletion or overwrite action.

C:

Replication addresses infrastructure durability, not malicious or accidental data-plane changes during a required retention window.

Question 333

A recovery plan must prove that applications can access their recovery-region database through the same trusted identity model after failover. What should be included?

  1. Only measure target-region VM CPU
  2. Only store a topology diagram in a wiki
  3. Full-stack failover drills
  4. Only confirm the database replica exists

Explanation

Correct Answer

C:

Testing the complete authenticated path catches missing managed identity grants, endpoint resolution and connection configuration before a real outage.

Incorrect Answers

A:

CPU measurements do not prove the recovered app can authenticate and read or write its data store.

B:

A diagram cannot validate effective RBAC, token audiences, endpoint mapping, or successful database queries.

D:

A replica without usable identity and network access may be present yet inaccessible to recovered applications.

Question 334

A storage account has a CanNotDelete ARM lock. A storage user with a data-plane role can still delete Blob objects through the Blob endpoint, violating a seven-year records rule. What additional control addresses the actual gap?

  1. Add a second CanNotDelete lock at resource-group scope and rely on it to block all Blob API calls
  2. Change to a ReadOnly ARM lock and assume it prevents every permitted data-plane operation
  3. Move the same unprotected objects to the cool tier and assume tiering makes them immutable
  4. Apply a supported time-based immutability policy or legal hold to the relevant Blob data, with appropriate access controls

Explanation

Correct Answer

D:

Blob immutability can prevent modification or deletion under a configured retention policy or legal hold, including against otherwise privileged clients where the setting is enforced. Design the exact policy scope, lock state, retention lifecycle and break-glass governance for the records requirement.

Incorrect Answers

A:

Resource-group locks govern Azure Resource Manager operations and don't turn Blob data-plane delete calls into ARM operations. Another control-plane lock won't enforce object retention.

B:

ReadOnly locks restrict management operations but aren't a universal data-plane object immutability mechanism. A permitted Blob data-plane client still requires protections implemented by the storage service.

C:

Cool or archive access tiers are pricing and retrieval classifications rather than legal WORM controls. A user with effective deletion rights may still change logically unprotected data.

Question 335

A stable Azure SQL Database workload will use a non-Hyperscale provisioned vCore configuration. The company has eligible SQL Server licenses with Software Assurance and wants a licensing discount while retaining control of compute sizing. Which purchasing design should the architect validate?

  1. Select the DTU-based purchasing model and assume SQL Azure Hybrid Benefit applies automatically
  2. Use the vCore provisioned compute model and verify Azure Hybrid Benefit eligibility and licensing allocation
  3. Choose serverless SQL compute solely because every serverless database qualifies for Azure Hybrid Benefit
  4. Move the database into Blob archive storage because archive tier applies SQL license discounts

Explanation

Correct Answer

B:

Azure SQL Database's vCore provisioned compute model exposes CPU sizing and supports Azure Hybrid Benefit where license and service-tier conditions are satisfied. Confirm eligible entitlements, concurrent use rights, selected region and current prices before committing the cost model.

Incorrect Answers

A:

The DTU model bundles resource capacity and does not support SQL Azure Hybrid Benefit. A pricing assumption based on traditional software licenses would be incorrect in that model.

C:

Serverless compute is part of the vCore family but isn't eligible for Azure Hybrid Benefit for Azure SQL Database. The compute tier is a material licensing constraint, not an interchangeable pricing detail.

D:

Blob archive is an object storage tier and cannot host the SQL Database engine or confer SQL Server licensing benefits. It may store exported data but does not address transactional compute cost.

Question 336

A stateless VM Scale Set is rebuilt frequently from an image and should reimage quickly. The instances do not need operating-system disk contents to survive stop or deallocation; customer data is kept in external durable services. Which OS disk model could improve deployment and reimage performance?

  1. Use supported ephemeral OS disks with the required VM size and image compatibility checks
  2. Require nightly Azure Backup snapshots of each ephemeral OS disk as the recovery foundation
  3. Store business records only in the OS disk and trust them to survive host reimage
  4. Move the virtual-machine OS image to a Blob archive container at startup

Explanation

Correct Answer

A:

Ephemeral OS disks use VM-local storage, making them suitable for stateless instances that can be recreated from automation and don't need persisted OS changes. Verify disk placement, selected VM size, image limits and recovery procedures before deployment.

Incorrect Answers

B:

Ephemeral OS disks don't provide the same snapshot and backup path as managed OS disks. The architecture should rebuild disposable workers from images and keep important state outside their operating systems.

C:

Host healing, stop/deallocate or reimage can discard ephemeral OS disk changes. Keeping the only authoritative copy of business records there contradicts the explicitly stateless design.

D:

Archive Blob Storage does not function as the directly bootable OS disk of a running Azure VM. An image and disk configuration supported by Azure Compute are still required.

Question 337

Developers require a way to test a policy requiring compliant devices and MFA without inadvertently locking out all users in production. What should they do first?

  1. Disable Microsoft Entra sign-in logs
  2. Use Conditional Access report-only mode and inspect sign-in results
  3. Move all users into another resource group
  4. Enable the strictest policy for everyone immediately

Explanation

Correct Answer

B:

Report-only evaluates policy impacts without enforcing grant requirements, allowing exclusions and dependencies to be checked before activation.

Incorrect Answers

A:

Removing visibility prevents the team from checking how the candidate policy would affect legitimate users.

C:

Resource groups are Azure resource containers and do not alter Conditional Access user targets or controls.

D:

Instant enforcement without validation can block legitimate sign-ins, including critical administration paths.

Question 338

An Azure subnet route table has a user-defined route for 0.0.0.0/0 to a firewall appliance and a different route for 10.40.2.0/24 to a VPN gateway. A VM sends packets to 10.40.2.15. Assuming both routes are active and applicable, which next hop wins?

  1. The firewall, because a 0.0.0.0/0 user-defined route has unconditional precedence over other destination prefixes
  2. The system Internet route, because VM traffic to private destinations ignores configured routes
  3. The VPN gateway, because the 10.40.2.0/24 route is the most-specific matching prefix
  4. Both next hops simultaneously, because Azure duplicates every packet when two routes match

Explanation

Correct Answer

C:

Azure chooses the longest matching address prefix for a destination before considering route-source precedence for equal-length matches. The 10.40.2.0/24 route is more specific than 0.0.0.0/0, so the VPN-gateway next hop is selected, subject to the route being valid and active.

Incorrect Answers

A:

A default route is a fallback for destinations not covered by a more specific applicable route. It does not supersede a longer matching prefix solely because it is user-defined.

B:

Azure evaluates effective routes for private and public destination IP addresses. The system Internet route does not bypass a suitable user-defined route with a matching prefix.

D:

The routing decision selects a next hop rather than producing duplicate copies along all applicable paths. Matching routes participate in selection, not simultaneous delivery.

Question 339

An application contains sensitive national identity numbers and needs queries to return masked values to unprivileged users while preserving underlying data. What feature should be evaluated?

  1. Transparent data encryption alone
  2. An Azure SQL zone-redundant configuration
  3. A storage redundancy upgrade
  4. Dynamic data masking with appropriate authorization

Explanation

Correct Answer

D:

Dynamic data masking can obscure designated columns in query results for users without UNMASK permission; it is not an encryption barrier for privileged users.

Incorrect Answers

A:

TDE protects data at rest but authorized SQL queries still return original values unless another control masks or encrypts them.

B:

Zone redundancy addresses availability, not field-level presentation of sensitive information in query results.

C:

More replicas improve resilience and do not alter the columns shown to SQL readers.

Question 340

A containerized workload must perform temporary background jobs triggered by an event source and then stop consuming compute capacity. What service feature should be evaluated?

  1. An always-on API replica for each occasional job
  2. A storage account read-access tier
  3. Azure Traffic Manager DNS policies
  4. Azure Container Apps jobs with event or scheduled triggers

Explanation

Correct Answer

D:

Container Apps jobs can execute finite container tasks on demand, separating job lifecycle from continuously serving HTTP applications.

Incorrect Answers

A:

Permanent service replicas consume capacity while waiting, even when no background tasks exist.

B:

Object tiering does not execute a custom containerized calculation.

C:

Traffic Manager directs client endpoints and cannot start container jobs based on queue demand.

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