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

Question 280

A critical regional database needs synchronous availability across zones with automatic failover, and the managed database service supports it. What should the architect choose?

  1. A single database VM in one availability zone
  2. Only an off-region nightly export
  3. A zone-redundant high-availability database configuration
  4. Only DNS alias replication

Explanation

Correct Answer

C:

Supported zone placement and synchronization can tolerate a zonal loss without relying solely on cross-region asynchronous disaster recovery.

Incorrect Answers

A:

One server remains vulnerable to the specified datacenter-zone failure.

B:

Nightly copies have substantial RPO and restoration delay and do not deliver in-region automatic database availability.

D:

Name aliases do not create transactional database replicas or automatic failover quorum.

Question 281

An enterprise wants to replace a locally maintained CRM with a subscribed cloud application rather than carry forward source code or databases. Which strategy fits?

  1. Refactor only a caching layer
  2. Repurchase with a suitable SaaS product
  3. Use storage object replication as the full migration
  4. Rehost the existing CRM VMs without changes

Explanation

Correct Answer

B:

Repurchasing changes the delivery model to a vendor-managed application and requires data, identity, process, and contract migration planning.

Incorrect Answers

A:

Cache changes do not replace the application's features, identity workflows, and vendor responsibilities.

C:

Object copying cannot automatically convert CRM workflows and records into a third-party SaaS system.

D:

Rehosting preserves the old operational model rather than adopting the new SaaS replacement the business requests.

Question 282

A product catalog cache suffers a thundering herd when one popular key expires. Which mitigation is most appropriate?

  1. Set every key to the same short expiry instant
  2. Disable database query telemetry
  3. Coordinated cache refresh with jitter or single-flight loading
  4. Give every request its own independent cache namespace

Explanation

Correct Answer

C:

Staggered expirations and request coalescing prevent hundreds of requests from simultaneously rebuilding one missing item from the database.

Incorrect Answers

A:

Synchronized expiry makes simultaneous cache misses more likely and can overload the origin.

B:

Hiding the traffic burst does not reduce origin load or coordinate cache regeneration.

D:

Per-request caches lose sharing benefits and still generate origin reads rather than smoothing them.

Question 283

A service owner needs to notify a Teams webhook and send an email when an Azure Monitor alert fires, without hard-coding recipients into every rule. Which reusable component is needed?

  1. A Log Analytics workspace
  2. An Application Insights connection string
  3. An Azure Monitor action group
  4. A diagnostic setting

Explanation

Correct Answer

C:

An action group contains reusable notification and automation targets that alert rules can invoke, keeping contact and webhook configuration separate from detection logic.

Incorrect Answers

A:

A workspace provides log storage and analysis; it does not define reusable notification recipients for alert rules by itself.

B:

A connection string allows telemetry ingestion into an Application Insights resource, not delivery of an alert to the response team.

D:

A diagnostic setting routes logs and metrics to destinations but cannot act as the notification target of an alert rule.

Question 284

A regulated organization wants to host several Windows and Linux web apps on managed App Service while requiring a single-tenant dedicated hosting environment integrated with its virtual network. Higher cost is acceptable to satisfy isolation requirements. Which compute design best fits?

  1. Use an Azure App Service Environment v3 with appropriately sized Isolated plans
  2. Deploy the apps to a standard multitenant App Service plan and assume it provides dedicated single-tenant infrastructure
  3. Use an Azure Functions Consumption plan for the long-running web apps without considering hosting isolation
  4. Use Azure Container Instances for each app and assume they provide the same App Service deployment and isolation model

Explanation

Correct Answer

A:

App Service Environment v3 supplies a single-tenant deployment of App Service in a customer virtual network, with dedicated compute for hosted apps. Its isolation, cost, scale and availability-zone choices must be evaluated against compliance requirements.

Incorrect Answers

B:

Multitenant App Service may support private endpoints or VNet integration, but those features do not automatically turn its supporting infrastructure into a dedicated single-tenant App Service Environment.

C:

Functions Consumption is aimed at event-driven serverless executions and does not provide the required dedicated managed web-app hosting environment. It has a different scaling and isolation model.

D:

Container Instances can host individual containers but lack the full managed App Service Environment infrastructure and app-platform experience described. ACI alone is not an ASE substitute.

Question 285

A global application must accept writes in more than one region to reduce latency for geographically distributed users. Which Cosmos DB capability matters?

  1. A single-region failover script only
  2. Azure Storage GRS for a separate storage account
  3. Multi-region writes with a chosen conflict-resolution strategy
  4. A read-only replica in a second region

Explanation

Correct Answer

C:

Cosmos DB can support writes in multiple configured regions, but the application must deliberately handle conflicts and consistency trade-offs.

Incorrect Answers

A:

Failover changes which region is active and is different from simultaneous write capability in multiple regions.

B:

Storage account replication does not grant the Cosmos DB account multi-region writable endpoints.

D:

A read-only regional copy can serve queries but cannot meet the requirement to accept writes locally in both regions.

Question 286

A SaaS provider hosts a service behind an Azure internal load balancer and wants customer VNets to connect privately without direct VNet peering. Which feature fits?

  1. DNS CNAME records without network connectivity
  2. Azure Private Link service exposed by the provider
  3. Azure Storage service endpoints only
  4. A public load balancer with anonymous access

Explanation

Correct Answer

B:

A Private Link service can publish the provider's private service through customer private endpoints without ordinary VNet peering between tenants.

Incorrect Answers

A:

Aliasing hostnames cannot create the private data-plane path into a service across tenant VNets.

C:

Service endpoints govern selected Azure PaaS traffic, not general private publication of a provider-owned internal service.

D:

Public exposure contradicts the private connectivity requirement and expands the service attack surface.

Question 287

A security architect needs to ensure an automation account can access just one storage container's blobs, while other containers stay private. What authorization design is strongest?

  1. Use a storage account access key shared with the runbook
  2. Grant an Azure Policy Reader role
  3. Assign Storage Blob Data Owner to the entire subscription
  4. Scope a storage data role to the specific container when supported

Explanation

Correct Answer

D:

Container-scoped data-plane RBAC limits object access to the needed data set while leaving other containers outside the granted scope.

Incorrect Answers

A:

Account keys have account-wide authority and cannot isolate one container for that caller.

B:

Policy Reader permits policy inspection and does not provide the desired Blob data-plane operations.

C:

That broad assignment could permit access to Blob data across many accounts and violates the isolation requirement.

Question 288

A company wants a single compliance view of policies about encryption, logging, and allowed regions while retaining the individual underlying definitions. What should it create?

  1. A private endpoint group
  2. A resource group template with only tags
  3. An Azure Policy initiative definition
  4. An action group with three email recipients

Explanation

Correct Answer

C:

An initiative groups policy definitions for a combined assignment and compliance assessment while preserving each control's semantics.

Incorrect Answers

A:

Private endpoints govern PaaS connectivity and do not organize governance policy requirements.

B:

Templates provision resources and metadata but are not a governance set composed of separately evaluated policies.

D:

Notification routing cannot combine compliance policies into a single governed assignment.

Question 289

A confidential database must let applications authenticate with organizational identities rather than a common database SQL login. What design should be considered?

  1. A public SQL endpoint with no identity checks
  2. Microsoft Entra with scoped database principals
  3. A shared SQL administrator password across all apps
  4. An Azure Storage account key

Explanation

Correct Answer

B:

Entra integration supports managed and human identity authentication while SQL permissions remain scoped to required database operations.

Incorrect Answers

A:

Network reachability alone must not be mistaken for database authentication and authorization.

C:

One privileged password obscures caller accountability and increases exposure of administrative database rights.

D:

Storage keys authenticate to storage, not to the SQL database engine or its user permission model.

Question 290

A disaster recovery test succeeded technically but the application was unusable because a private DNS record still targeted the failed primary database. What should change?

  1. Increase CPU limits on the secondary database only
  2. Use more backup retention days only
  3. Delete the primary application's activity logs
  4. Include DNS and connection endpoint cutover in the recovery runbook

Explanation

Correct Answer

D:

Application recovery extends beyond restarting compute; private endpoint resolution and application configuration must select the active database and network route.

Incorrect Answers

A:

Compute sizing cannot fix clients resolving to an inaccessible primary endpoint.

B:

Longer retained history cannot correct a live application's wrong DNS target after failover.

C:

Removing audit data does not update name resolution and reduces forensic visibility.

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