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

Question 270

Several subscriptions must send Azure Activity Log events to a single analytics destination with consistent policy enforcement. Which combination is most suitable? Choose TWO.

  1. Subscription-level diagnostic settings for Activity Log
  2. Azure Policy to deploy or audit diagnostic settings
  3. Application Gateway WAF rules
  4. Guest OS scheduled tasks
  5. Azure DNS zones

Explanation

Correct Answers

A:

Activity Log export settings operate at the appropriate subscription scope, allowing control-plane records to reach the chosen workspace.

B:

Policy assignments can standardize and assess log export configurations across subscriptions instead of relying on manual updates.

Incorrect Answers

C:

WAF rules inspect HTTP traffic and cannot configure subscription Activity Log collection or storage routing.

D:

Guest tasks run inside VMs; they cannot provide authoritative subscription-level control-plane event export for all resources.

E:

DNS zones host name records but do not centralize administrative operation telemetry.

Question 271

The data team must minimize availability risk during routine database patching without owning SQL Server operating-system maintenance. Which hosting model is most aligned?

  1. SQL Server in a local server room
  2. Azure SQL Database as a fully managed service
  3. SQL Server on a single unmanaged VM
  4. A Data Lake Storage folder

Explanation

Correct Answer

B:

The service handles platform patching and maintenance, with the architect selecting availability and performance tiers for application needs.

Incorrect Answers

A:

On-premises infrastructure continues the maintenance and resilience responsibility the organization wants to reduce.

C:

The organization remains responsible for OS and database patching and must plan availability during these operations.

D:

A file hierarchy cannot execute the existing relational database workload.

Question 272

After migration, the new application has a public IP but cannot access its retained on-premises database. What architecture gap should be investigated?

  1. Increase the app's HTML cache lifetime
  2. Assume public IP existence proves private database reachability
  3. Hybrid routing, DNS, security, and identity planning
  4. Recreate the same resource-group tags as on-premises

Explanation

Correct Answer

C:

Moving compute does not automatically create a private network path or preserve trusted database authentication across cloud and on-premises boundaries.

Incorrect Answers

A:

Browser caching does not repair missing private routing or database authentication.

B:

An app being publicly reachable says nothing about its egress routes or access to a protected corporate database.

D:

Azure tags do not make routers, firewalls or identity trusts operational.

Question 273

A global retail platform uses Azure Front Door but wants backend origins reachable only through authorized Front Door traffic. What additional security concern must be addressed?

  1. Leave every origin publicly accessible without filtering
  2. Rely only on browser DNS caches
  3. Use more Blob archive replicas
  4. Origin access restriction and validation of the Front Door path

Explanation

Correct Answer

D:

Protecting the origin from direct bypass requires appropriate network restrictions or supported Private Link designs and validation of forwarded origin traffic.

Incorrect Answers

A:

Attackers may bypass edge WAF and routing controls if the backend accepts arbitrary direct public requests.

B:

Client DNS behavior cannot enforce that every origin request traversed the approved security gateway.

C:

Object archival does not establish authorization of HTTP traffic paths to web application origins.

Question 274

A PaaS solution depends on secrets stored in a Key Vault in the primary region, but DR tests fail after moving only app compute. Which design element is missing?

  1. An increased VM OS disk size
  2. Regional dependency recovery for secret and key availability
  3. An Azure budget threshold on the primary vault
  4. A changed web app title

Explanation

Correct Answer

B:

The secondary deployment needs authorized access to appropriate secret and key material, with replication or recovery patterns supported by each service.

Incorrect Answers

A:

More disk capacity on recovered compute cannot restore access to unavailable application secrets.

C:

Cost alerts do not create a geographically resilient secret dependency or grant its access.

D:

Application branding does not solve secret endpoint, identity, or network reachability failures during regional recovery.

Question 275

A compute solution uses stateful sessions stored in one web server process and needs to add or replace instances freely. Which refactoring improves availability?

  1. Externalize session state to a resilient shared store
  2. Increase per-server sticky-session duration indefinitely
  3. Disable the application health probes
  4. Make every server a single-instance VM

Explanation

Correct Answer

A:

Storing sessions outside a single worker enables load balancing, autoscaling, and replacement without losing session affinity-dependent state.

Incorrect Answers

B:

Affinity pins users to one worker and cannot protect their sessions if that worker fails.

C:

Ignoring unhealthy instances increases errors and does not migrate in-memory session information.

D:

One worker per host does not remove the single-server state dependency when a host fails.

Question 276

A serverless API has intermittent cold-start sensitivity and must maintain predictable low-latency responses. Which hosting trade-off should be evaluated?

  1. Warm-capacity Azure Functions hosting
  2. Rely only on scale-to-zero with no warm instances
  3. Increase Blob archive retention
  4. Change the API's subscription tag

Explanation

Correct Answer

A:

A premium or other suitable plan can maintain warm instances or always-ready capacity to control latency while retaining function programming patterns.

Incorrect Answers

B:

Aggressive scale-to-zero can introduce startup delays that conflict with predictable latency requirements.

C:

Object archival has no bearing on whether application functions have an initialized execution instance.

D:

Tags do not initialize code or prevent serverless runtime cold starts.

Question 277

Regulatory data is read monthly but must be immediately retrievable, with no hours-long rehydration. Which Blob tier should be evaluated?

  1. Azure Queue Storage
  2. Cool or cold tier for infrequent online access
  3. Azure managed disk ultra tier
  4. Archive tier alone

Explanation

Correct Answer

B:

Both tiers keep data online with immediate retrieval; the choice depends on frequency, minimum duration, and storage versus access charges.

Incorrect Answers

A:

Queues preserve work messages, not arbitrary compliance documents with object download requirements.

C:

Ultra disks provide VM block I/O rather than economical retention of independent document objects.

D:

Archived blobs are offline and need rehydration, violating immediate retrieval even if storage price is attractive.

Question 278

A platform engineer needs to let a network team modify only virtual network and subnet resources across a resource group, not compute or storage. Which model fits?

  1. A Network Contributor role scoped to the resource group
  2. Storage Account Contributor at the same scope
  3. Contributor at the entire subscription
  4. User Access Administrator at the resource group

Explanation

Correct Answer

A:

Network Contributor grants network resource management actions while avoiding broad modification powers over unrelated compute and storage assets.

Incorrect Answers

B:

A storage management role does not grant the required virtual network administration permissions.

C:

Contributor is much broader than network administration and covers many unrelated resource types.

D:

Access administration lets users manage role assignments but does not serve as a network-configuration role.

Question 279

A business API needs one consistent external interface while independently versioning backend microservices. Which design is most appropriate?

  1. Use a static DNS record as the only version negotiation
  2. Expose each internal pod IP directly to partner clients
  3. An API gateway façade with version-aware routing and contracts
  4. Ask every client to use subscription Owner credentials

Explanation

Correct Answer

C:

A gateway centralizes public routing and cross-cutting policy, while backend version lifecycles can evolve behind stable client-facing APIs.

Incorrect Answers

A:

DNS name mapping does not implement per-route API transformations or versioned contract management.

B:

Pod addresses are transient and leak internal deployment structure, making compatibility and security harder.

D:

Azure management roles have no role in safe versioning of business HTTP API contracts.

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.

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