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

Question 220

A manufacturer has local VMware VMs and wants a coordinated disaster recovery target in Azure without manually reinstalling each workload during an outage. Which service fits?

  1. Azure App Configuration
  2. An Azure VPN gateway without replication
  3. Azure Site Recovery for supported VMware workloads
  4. Azure Blob lifecycle rules

Explanation

Correct Answer

C:

ASR can replicate supported on-premises VMware machines to Azure and execute tested recovery plans for a site disaster.

Incorrect Answers

A:

Configuration values do not preserve running VM disks and operating systems for disaster recovery.

B:

Network connectivity is useful but does not produce recoverable copies of failed source workloads.

D:

Lifecycle policies manage object tiers and retention; they do not orchestrate replication and restart of VMware VMs.

Question 221

A rapidly growing Azure SQL Database needs a very large database and independently scalable storage without planning conventional data file limits. Which tier is designed for this?

  1. Basic DTU tier
  2. Azure SQL Database Hyperscale
  3. A single Azure Table Storage table
  4. A SQL elastic pool chosen only for tenant sharing

Explanation

Correct Answer

B:

Hyperscale separates compute and storage architecture to support large SQL databases with rapid storage growth and flexible compute choices.

Incorrect Answers

A:

A small, fixed-capacity tier does not suit a database growing to very large sizes with sustained production performance demands.

C:

Table Storage changes the workload to a nonrelational key-value model and cannot preserve the existing T-SQL design.

D:

Elastic pools optimize multiple databases sharing compute; they do not replace the large-single-database architecture decision.

Question 222

A highly available app uses active-active API endpoints but keeps all writes in one Azure database region. Which risk should be communicated?

  1. User traffic can safely write to an unavailable primary
  2. Single-region database dependency despite app replicas
  3. An HTTP health probe makes database writes region independent
  4. Having two API origins guarantees all dependencies are multi-region

Explanation

Correct Answer

B:

The design may survive a front-end outage yet still fail on loss of the sole writable database region; data-tier DR or multi-write design must be assessed.

Incorrect Answers

A:

An unreachable or failed database cannot accept writes solely because API replicas remain running.

C:

Probes only decide whether a target is healthy; they cannot replicate or promote database transaction state.

D:

Compute deployment topology does not prove that backing data, secrets, and messaging components are geographically resilient.

Question 223

An application's secrets and nonsecret feature settings are currently mixed in source code. Which two services create an appropriate separation? Choose TWO.

  1. Azure Traffic Manager to store application passwords
  2. An Azure Load Balancer backend pool for configuration
  3. Azure App Configuration for ordinary settings and feature flags
  4. A public Blob container for private API tokens
  5. Azure Key Vault for protected secret material

Explanation

Correct Answers

C:

App Configuration supports centralized key-values and controlled flags, while secret references can avoid storing sensitive values directly.

E:

A vault is purpose-built for credentials, certificates, and cryptographic keys with controlled data-plane authorization and audit options.

Incorrect Answers

A:

Traffic Manager routes DNS requests and cannot protect a secret value as a key store.

B:

Backend pools define traffic destinations rather than key-value configuration and feature control.

D:

Anonymous object access creates unacceptable exposure for tokens and credentials.

Question 224

A production application needs predictable VM capacity in an Azure region for a planned product launch. What should be considered before relying on autoscaling?

  1. Move log files to cold Blob tier
  2. Only shorten virtual machine names
  3. Check regional quota and capacity reservations where appropriate
  4. Assume autoscale overrides all subscription quotas

Explanation

Correct Answer

C:

Scaling rules cannot create VMs when quotas or regional capacity are unavailable; reservations and capacity planning can reduce deployment risk.

Incorrect Answers

A:

Log storage cost reductions do not guarantee capacity for a surge of new virtual machines.

B:

Naming cannot reserve compute host capacity or increase regional quota.

D:

Autoscale requests remain subject to resource limits and available platform capacity.

Question 225

A simple web application can move from an on-premises IIS host to a managed web platform after minor configuration adjustments. Which strategy and service fit?

  1. Move the app's SQL tables to Blob archive as the runtime
  2. Rehost solely to an Azure VM despite managed compatibility
  3. Replatform to Azure App Service
  4. Retire the app while users still depend on it

Explanation

Correct Answer

C:

Replatforming retains much of the web application while adopting managed hosting, reducing guest OS responsibilities compared with a pure VM rehost.

Incorrect Answers

A:

Offline object storage is not a direct web server execution or transactional database target.

B:

A VM may work but retains avoidable OS and web-server administration when the app is compatible with managed hosting.

D:

The business still requires the capability, so removing it is not an acceptable migration plan.

Question 226

A stateless web backend runs on VMs and needs automated scale-out based on queue length while keeping a consistent VM template. Which construct fits?

  1. VM Scale Sets with suitable autoscale rules
  2. A storage lifecycle rule
  3. A single manually administered VM
  4. An Azure availability set only

Explanation

Correct Answer

A:

Scale sets manage equivalent VM instances and respond to supported signals, allowing capacity adjustments while preserving image and configuration patterns.

Incorrect Answers

B:

Blob tier transitions do not provision more running VMs for a queue-processing backend.

C:

One host cannot automatically add more parallel worker instances in response to workload pressure.

D:

An availability set diversifies VM fault domains but does not itself add or remove instances based on demand.

Question 227

A microservice deploys new container revisions and wants traffic to shift gradually while preserving the prior revision for rollback. Which release pattern improves availability?

  1. Increase backup retention on unrelated database VMs
  2. Terminate every old replica before new ones pass health checks
  3. Delete rollback images after every build
  4. Canary or weighted traffic splitting between healthy revisions

Explanation

Correct Answer

D:

Gradual rollout limits exposure to regressions and supports rapid reversal without replacing every working instance at once.

Incorrect Answers

A:

Database history cannot replace safe progressive deployment of application code.

B:

A full shutdown can create avoidable downtime when the new revision has startup or runtime failures.

C:

Removing historical deployable artifacts makes recovery from a bad release harder.

Question 228

A financial workload requires VM backups to be retained in a distinct Azure region from production so a single regional event does not destroy both. What vault property matters?

  1. An NSG outbound rule
  2. Geo-redundant backup storage where supported and appropriate
  3. Locally redundant backup storage only
  4. A ReadOnly lock on production VMs

Explanation

Correct Answer

B:

Geo-redundant vault storage can maintain backup copies in a secondary region, subject to workload support and cross-region restore planning.

Incorrect Answers

A:

Packet filtering cannot replicate backup data into a different region or establish usable restore points.

C:

LRS stores copies within one location and does not provide the stated secondary-region backup resilience.

D:

ARM locks affect management operations but do not create a remote backup copy.

Question 229

A team wants to restore a database accidentally dropped earlier that day, assuming its service and retention window support recovery. What mechanism should it check?

  1. Change an Azure Firewall application rule
  2. Recreate an empty database with the same name
  3. Start an Azure Site Recovery VM failover for the PaaS database
  4. Restore a deleted database using retained automated backups

Explanation

Correct Answer

D:

Managed SQL backup history can permit restoring a deleted database within the applicable retention period, reducing dependence on manual exports.

Incorrect Answers

A:

Network filtering cannot reconstruct a deleted relational database from retained backups.

B:

An empty database restores connectivity but not the lost tables, rows, or transaction state.

C:

ASR replicates supported machines and does not serve as the restore mechanism for an Azure SQL Database object.

Question 230

An Azure Virtual WAN estate has secured hubs in two regions. Private branch-to-spoke traffic is inspected, but inter-hub private flows still bypass each hub's firewall. The security requirement is inspection along those cross-hub paths. Which change should be evaluated?

  1. Assume connecting two Virtual WAN hubs automatically enforces firewall inspection on every inter-hub flow
  2. Only configure Internet Traffic routing policy because private flows are already internet-bound
  3. Change virtual network names so inter-hub flows inherit an NSG rule
  4. Configure Private Traffic routing intent with appropriate inter-hub inspection and supported security next hops

Explanation

Correct Answer

D:

Routing intent can direct private routes, including inter-hub traffic when configured appropriately, to Azure Firewall or supported security appliances in secured hubs. Validate route-table prerequisites, compatible next hops, symmetrical paths and any bypass permissions before rollout.

Incorrect Answers

A:

Virtual WAN provides managed inter-hub connectivity, but that does not by itself guarantee that all cross-hub private paths traverse a firewall. Transit and mandatory inspection are separate architectural choices.

B:

Internet Traffic routing policy addresses internet-bound connections. Branch-to-spoke and hub-to-hub private prefixes require private-traffic policy decisions and valid symmetric routing.

C:

Resource names do not alter forwarding, route propagation, or firewall inspection. NSGs enforce subnet or NIC controls but cannot substitute for deliberate hub-to-hub security routing.

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