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

Question 30

A security team wants to permit HTTP to an application subnet only from a trusted subnet, without inspecting HTTP payloads. Which control best fits?

  1. Azure DNS Private Resolver only
  2. Network security group rules on the relevant subnet or interface
  3. A storage account lifecycle policy
  4. Azure Front Door WAF as the only private subnet rule

Explanation

Correct Answer

B:

NSGs allow or deny traffic by source, destination, protocol, and port at network boundaries without requiring a Layer-7 proxy.

Incorrect Answers

A:

DNS resolution cannot stop packets from an untrusted source subnet once addresses are known.

C:

Object retention and tier transitions cannot filter inbound TCP port 80 to virtual machines.

D:

A public web WAF does not replace basic private traffic filtering on VM subnets.

Question 31

A feature rollout must target only 5% of users initially and be reversed without redeploying the app. What capability fits?

  1. Build a separate binary for every individual user
  2. Feature flags with targeting and centrally controlled state
  3. Change the VM SKU for selected customers
  4. Use Azure Policy resource tags as the only flag runtime

Explanation

Correct Answer

B:

Flags allow the deployed binary to vary behavior at runtime for selected cohorts, with a reversible switch and monitored outcomes.

Incorrect Answers

A:

Per-user binaries make controlled rollout and quick reversal operationally impractical.

C:

Compute sizing does not express business feature eligibility within one shared application.

D:

Resource metadata compliance is not a direct managed per-user feature exposure service.

Question 32

An architect is replacing account-key authentication for a Blob-processing worker with user-delegation SAS URLs generated by a trusted service. What security benefit matters?

  1. Make the blobs anonymous
  2. Use a permanent account SAS with the storage key
  3. Grant Contributor to the storage subscription
  4. Microsoft Entra user-delegation SAS

Explanation

Correct Answer

D:

A user delegation SAS is signed with a user delegation key obtained using Entra authorization, reducing reliance on the account key while retaining a bounded SAS.

Incorrect Answers

A:

Anonymous public access removes authenticated delegation entirely and may expose content beyond the trusted worker.

B:

An account SAS relies on the broadly privileged account key and has a more demanding compromise and rotation impact.

C:

A management role alone is not equivalent to a narrowly scoped, signed Blob access URL for the client.

Question 33

A nightly scientific workload needs thousands of short-lived parallel tasks running on suitable VM sizes, with retry and queue management. What is appropriate?

  1. Azure Files snapshots
  2. Azure App Service as a job scheduler
  3. Azure Traffic Manager
  4. Azure Batch

Explanation

Correct Answer

D:

Batch orchestrates pools and parallel jobs over managed VM resources, well suited for large-scale scientific and high-performance workloads.

Incorrect Answers

A:

Snapshots retain file states but cannot execute a batch compute task graph.

B:

Web app hosting is not intended to provision and coordinate large numerical parallel job pools by itself.

C:

DNS routing does not split numerical computations or allocate compute pools for parallel workers.

Question 34

A SQL Server production database is moving to Azure SQL Managed Instance. The application cannot tolerate a long offline backup-and-restore cutover, and the source must keep accepting writes during most of migration. Which supported approach should the team assess?

  1. Schedule a single cold BACPAC export after the system is shut down
  2. Evaluate SQL Managed Instance link for continuous replication followed by a controlled cutover
  3. Copy only SQL Server data files into an Azure Files share and mount them on the managed instance
  4. Change the application's DNS record before copying any production data

Explanation

Correct Answer

B:

Managed Instance link can continuously replicate a supported SQL Server source to Azure SQL Managed Instance, allowing most data movement to occur while production remains online. The architect must verify version and topology support, monitor synchronization, and rehearse the final cutover and rollback plan.

Incorrect Answers

A:

A cold export requires a write outage while the final export and import complete. It may be reasonable when significant downtime is approved, but it does not meet the short-cutover requirement.

C:

A managed instance doesn't attach arbitrary customer-supplied MDF and LDF files from an Azure Files share. Its managed database deployment and migration mechanisms must be used instead.

D:

DNS cutover before data synchronization creates a destination with missing or stale transactions. Endpoint switching belongs after validation of a supported migration flow.

Question 35

Security wants to detect when a privileged user repeatedly performs a particular resource management operation over the last hour. What alert model is appropriate?

  1. A network security group rule
  2. A scheduled log query alert over activity log records
  3. A static budget alert
  4. A VM CPU metric alert

Explanation

Correct Answer

B:

A KQL rule can filter by operation, caller, status, and time window, then evaluate a count threshold that simple point-in-time metrics do not express.

Incorrect Answers

A:

An NSG filters network traffic and cannot inspect or alert on Azure Resource Manager audit events.

C:

Budget alerts are tied to cost consumption and forecasts, not a sequence of privileged management operations.

D:

CPU telemetry detects compute pressure, not the identity and count of administrative actions across subscriptions.

Question 36

An Azure Cosmos DB for NoSQL operational application has high transactional throughput. Analysts want near-real-time historical queries over the same records, but analytical scans must not consume the request units reserved for production. What architecture should be evaluated?

  1. Run every analytical scan directly against the transactional container at maximum RU allocation
  2. Copy every container into CSV files through a nightly full export before allowing analysis
  3. Enable the supported analytical store pattern with Azure Synapse Link and query it with analytical compute
  4. Replace analytical queries with Cosmos DB point reads made by the checkout service

Explanation

Correct Answer

C:

Synapse Link uses an analytical store separate from the transactional store so supported analytical engines can query operational data without spending the application's transactional RU allocation. Confirm current feature support, provisioning, freshness and analytical costs for the account before designing the rollout.

Incorrect Answers

A:

Transactional analytical scans compete for throughput provisioned to the operational store and may produce unwanted cross-partition RU charges. Raising RU capacity doesn't isolate the two workload classes.

B:

Nightly export creates a lagged batch copy and adds recurring full-data-movement overhead. It misses the near-real-time objective and needlessly duplicates extraction work.

D:

Point reads efficiently retrieve known items for operations but do not replace distributed aggregations and historical scans for analysts. Using the checkout service also mixes analytical and production responsibilities.

Question 37

An Azure Synapse dedicated SQL pool holds a 20-TB sales fact table and a large customer dimension. Reports repeatedly join them on CustomerId, which has a reasonably even distribution, and query plans show excessive data movement between distributions. Which physical table strategy best addresses the join cost?

  1. Use round-robin distribution for both large tables so row placement remains unrelated to CustomerId
  2. Replicate the entire 20-TB fact table on every compute node to eliminate all network transfers
  3. Hash-distribute the large joined tables on compatible CustomerId keys and replicate suitable small dimensions
  4. Keep the original table layout but disable statistics collection to reduce planning overhead

Explanation

Correct Answer

C:

Hash distribution on a common well-chosen join key can colocate matching rows, reducing the movement of large datasets across Synapse distributions. Replication can be appropriate for smaller dimensions; validate skew, data types, and query plans before committing.

Incorrect Answers

A:

Round-robin is useful for staging and rapid loads, but matching join keys are not colocated by design. It can require data movement to complete frequent large-table joins.

B:

Replicating a very large fact table is expensive and impractical; replicated distribution is intended for relatively small dimension tables. It would introduce excessive storage and refresh work.

D:

Statistics inform distributed-query optimization and do not remove the underlying need to move mismatched rows for joins. Removing them can worsen query plans rather than fix the distribution strategy.

Question 38

A new application needs a fully managed relational database, T-SQL support, and independent performance scaling from other applications. What is the natural starting point?

  1. Azure SQL Database single database
  2. Azure Cosmos DB for NoSQL
  3. SQL Server on an Azure VM
  4. Azure Database for PostgreSQL

Explanation

Correct Answer

A:

A standalone Azure SQL Database provides managed T-SQL with compute and storage choices scoped to that database, without operating a SQL Server VM.

Incorrect Answers

B:

Cosmos DB is a distributed document database and is not a straightforward replacement for T-SQL transactional schema and stored procedures.

C:

IaaS maintains engine compatibility but leaves patching, OS maintenance, and more availability operations with the customer.

D:

PostgreSQL is managed relational storage, but its SQL dialect and extension model differ from an application specifically requiring T-SQL.

Question 39

A legacy app is licensed for a specific dedicated physical host configuration and needs host-level placement isolation. Which Azure offering should be assessed?

  1. Azure Dedicated Host
  2. Azure App Configuration
  3. A standard shared-host VM alone
  4. Azure Container Instances

Explanation

Correct Answer

A:

Dedicated Hosts provide server hardware dedicated to one customer's VMs and offer placement and licensing considerations relevant to host-level isolation.

Incorrect Answers

B:

Configuration storage cannot provide host-level compute isolation for licensing requirements.

C:

A typical VM uses Azure multitenant infrastructure and does not reserve an entire physical host for one organization.

D:

Container execution abstracts host placement rather than providing a reserved physical VM server boundary.

Question 40

A service has a recovery time target of one hour. Restoration tests take six hours even though daily backup succeeds. What is the architectural gap?

  1. Turn off backup verification
  2. Only increase backup retention from 30 to 90 days
  3. Change VM naming conventions
  4. Recovery orchestration and reserved recovery capacity

Explanation

Correct Answer

D:

Successful backup proves data capture, while RTO also depends on provisioning, dependencies, failover execution, DNS, and application validation.

Incorrect Answers

A:

Skipping verification hides recovery risks and has no credible path to reduce actual service restoration time.

B:

Longer history does not necessarily speed the process of rebuilding and starting an application.

C:

Naming may simplify management but cannot by itself compress a six-hour recovery sequence to one hour.

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