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

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.

Question 231

A deployment is being rejected by a deny policy that was inherited from an ancestor management group. Where should the architect investigate first?

  1. A local DNS cache
  2. The storage account's SAS expiry
  3. The VM guest's antivirus signature list
  4. Inherited and scoped Azure Policy assignments

Explanation

Correct Answer

D:

Policy assignments inherit down the management tree, so a subscription-local view alone may not explain why the requested configuration is denied.

Incorrect Answers

A:

Name-resolution cache entries do not authorize or deny Azure Resource Manager deployment requests.

B:

SAS expiration governs data access and cannot explain policy denial of a new Azure resource deployment.

C:

Guest security signatures are unrelated to resource creation being denied by an ARM policy assignment.

Question 232

A storage account uses GRS and a business process assumes data written just before an abrupt primary outage will always exist in the secondary. What architectural risk must be documented?

  1. GRS makes account keys impossible to compromise
  2. Asynchronous geo-replication may introduce data loss at failover
  3. GRS eliminates the need for backup or version history
  4. GRS guarantees no loss on every regional failure

Explanation

Correct Answer

B:

Cross-region copies are not guaranteed to be transaction-synchronous, so recovery point objectives must account for replication lag.

Incorrect Answers

A:

Storage replication has no bearing on authentication material exposure or account-key security.

C:

Replicated deletions and corruptions can still spread, so redundancy is not equivalent to recoverable history.

D:

Asynchronous replication cannot promise that the latest committed primary writes have reached the secondary.

Question 233

An Azure API Management gateway serves a public GET /catalog endpoint. Responses can be reused for 60 seconds, and the backend becomes overloaded when thousands of clients request the same object. The team wants to use the gateway instead of deploying another cache service. What should it configure?

  1. Extend backend HTTP timeouts so each request waits longer for the uncached response
  2. Use an API Management JWT validation policy as the only traffic reduction mechanism
  3. Add a circuit-breaker policy and assume that it will serve a prior response for every request
  4. Add API Management cache-lookup and cache-store policies with a suitable duration and variation keys

Explanation

Correct Answer

D:

API Management response caching uses cache-lookup on the inbound path and cache-store on outbound successful GET responses, with expiration and appropriate cache keys. It can reduce repeated backend calls; rate limits remain useful if the cache is unavailable.

Incorrect Answers

A:

Longer timeouts can allow slow requests to complete, but each request still reaches the backend and consumes capacity. They do not provide response reuse or reduce repeated GET processing.

B:

JWT validation is an authorization control; it can reject invalid callers but does not satisfy a legitimate volume of duplicate catalog reads from authorized clients. The read path remains uncached.

C:

A circuit breaker can stop sending calls temporarily when a backend is unhealthy, but it does not automatically store and return the last successful catalog response. It has a different resilience purpose.

Question 234

A .NET API emits millions of request and dependency spans into Azure Monitor every day. The team wants to reduce ingestion volume while retaining coherent end-to-end traces for a representative subset of transactions across services. Which telemetry strategy fits best?

  1. Send every span and reduce only the retention period, leaving ingestion unchanged
  2. Apply coordinated source-side trace sampling with consistent decisions across instrumented services
  3. Apply unrelated random ingestion sampling independently at every service and assume trace completeness
  4. Turn off request and dependency traces entirely and retain only infrastructure CPU metrics

Explanation

Correct Answer

B:

Coordinated source-side sampling can avoid exporting some traces and preserve more complete correlation for those retained when sampling decisions are consistent. OpenTelemetry or Azure Monitor sampling configuration must be aligned across participating services.

Incorrect Answers

A:

Retention settings affect how long ingested data remains available, not the cost or volume of sending all spans to the monitoring pipeline. The requirement specifically calls for source-level volume reduction.

C:

Independent service-side or ingestion sampling can discard different spans of the same transaction, creating broken distributed traces. It gives less control over which traces are captured and does not guarantee end-to-end context.

D:

CPU metrics can describe resource usage but cannot diagnose request paths, dependency latency, or application exceptions. Removing all app traces sacrifices the stated troubleshooting requirement.

Question 235

A company wants to grant temporary project access and periodically confirm whether external collaborators still need it. Which governance feature fits?

  1. Azure Resource Manager templates only
  2. A Key Vault rotation policy
  3. Microsoft Entra entitlement management access packages
  4. An NSG inbound access rule

Explanation

Correct Answer

C:

Access packages can bundle access to groups and applications with request, approval, expiration, and review policies for lifecycle-based collaboration.

Incorrect Answers

A:

Templates provision infrastructure declaratively but do not manage access-package requests, reviewer approvals, or guest lifecycle.

B:

Key rotation governs cryptographic assets rather than periodic recertification of guest application access.

D:

A packet-filtering rule cannot decide which individual collaborators should retain directory group membership.

Question 236

A team wants to run containerized HTTP microservices with autoscaling and revisions but does not require direct access to Kubernetes objects. What service fits?

  1. Azure VM Scale Sets with manual container orchestration
  2. Azure Container Apps
  3. Azure Batch for online web requests
  4. Azure Kubernetes Service as a strict requirement

Explanation

Correct Answer

B:

Container Apps supports managed container execution, event-driven scaling, ingress and revisions without the team operating Kubernetes APIs.

Incorrect Answers

A:

Scale sets provide VM fleets, but the team would need to engineer deployment, networking, and container scheduling.

C:

Batch schedules jobs rather than providing the preferred managed revisioned HTTP microservice runtime.

D:

AKS could host the workload but adds cluster administration for an application not needing Kubernetes control.

Question 237

A design must guarantee that an API never loses a customer's request even if its processing worker crashes after dequeuing the message. What broker behavior matters?

  1. Disable retries for transient processing failures
  2. Keep messages solely in a VM's local memory
  3. Delete messages immediately upon dequeue before processing
  4. Acknowledgment or settlement only after durable processing

Explanation

Correct Answer

D:

A durable queue with lock/visibility and post-commit acknowledgment can redeliver work if a consumer crashes, while idempotency handles repeats.

Incorrect Answers

A:

Without recoverable delivery, temporary dependencies can cause unnecessary permanent request loss.

B:

An in-memory buffer can vanish on host failure and is not a durable broker boundary.

C:

Early removal can permanently lose work if the worker fails before recording the business transaction.

Question 238

A legal team needs annual database recovery copies for several years beyond the normal operational restore window. What capability should be selected?

  1. A daily workload availability probe
  2. Geo-replication alone
  3. Long-term retention for supported SQL managed backups
  4. A read-only resource-group role

Explanation

Correct Answer

C:

LTR retains selected periodic full backups for years according to policy while keeping them separate from short operational PITR recovery windows.

Incorrect Answers

A:

Probes monitor reachability and do not preserve reconstructable past database contents.

B:

A continuously updated secondary follows primary changes and is not a retained historical backup for a particular prior year.

D:

Read-only RBAC limits management writes but does not create or extend backup generations.

Question 239

An application workload identity has been granted access to a database and the organization wants to remove static passwords from connection settings. What should the application use?

  1. Use only an Azure public IP allowlist
  2. Embed a SQL login password in source control
  3. Microsoft Entra access tokens with supported database authentication
  4. An Azure resource tag as a secret

Explanation

Correct Answer

C:

The workload obtains short-lived tokens, and the database maps that identity to authorized data actions, avoiding a password stored in configuration.

Incorrect Answers

A:

Network allowlisting can narrow reachability but does not authenticate or authorize SQL statements from the workload.

B:

A checked-in credential remains long-lived and reusable by anyone who obtains the repository or build artifact.

D:

Tags are ordinary resource metadata and cannot securely stand in for an authentication token or secret.

Question 240

A storage security policy requires all storage calls from private subnets to avoid traversing a public service endpoint. Which architecture should be chosen?

  1. A public network firewall rule allowing the internet
  2. Storage private endpoints and private DNS
  3. Azure Front Door for Blob account management
  4. Service endpoints as a substitute for Private Link

Explanation

Correct Answer

B:

Private Link exposes private addresses for selected storage services; each relevant endpoint and private DNS resolution must be planned.

Incorrect Answers

A:

Broad public reachability contradicts the private-only service access requirement.

C:

Front Door optimizes HTTP application delivery and does not replace private connectivity to storage service APIs.

D:

Service endpoints secure routing to Azure public service endpoints but do not provide a private IP endpoint in the customer's VNet.

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