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

Question 60

An API is exposed to partner apps; the architect wants each caller identified as an app rather than via a shared API key, with permissions controlled centrally. What authentication approach fits?

  1. Anonymous HTTPS requests
  2. One shared API key embedded in every partner app
  3. An Azure Blob stored access policy
  4. OAuth client credentials with Microsoft Entra application identities

Explanation

Correct Answer

D:

Each client gets its own service principal and access token, making policy, revocation, and auditing more granular than a shared static key.

Incorrect Answers

A:

TLS protects transport but does not identify or authorize the calling application in an app-to-app integration.

B:

A compromised shared key cannot distinguish callers and forces disruptive rotation across all clients.

C:

A stored access policy applies to certain storage SAS tokens, not general OAuth authorization for a business API.

Question 61

A regional service has three healthy instances but one starts returning HTTP 500 errors. Why might a pure TCP health probe be insufficient?

  1. A TCP probe can succeed even when application responses are failing
  2. TCP health probes always inspect HTTP status codes
  3. A network interface guarantees application correctness
  4. Azure Storage replication sets HTTP probe behavior

Explanation

Correct Answer

A:

Transport connectivity does not prove the correct HTTP route works; application-level probes are needed for this failure mode.

Incorrect Answers

B:

A pure transport probe only tests connection success and lacks an HTTP response interpretation.

C:

A configured NIC cannot ensure the app process is healthy or its dependencies work.

D:

Storage redundancy has no responsibility for determining the health of an unrelated web application's backend responses.

Question 62

A retailer wants analysts to join activity from virtual machines, Key Vault, and App Service across several subscriptions using Kusto Query Language. Where should the diagnostic logs be routed?

  1. An Azure Storage account
  2. An Event Hubs namespace
  3. Azure Monitor Metrics
  4. A centralized Log Analytics workspace

Explanation

Correct Answer

D:

A workspace stores resource log tables and supports cross-resource KQL analysis; diagnostic settings can send eligible resource logs there, with access and retention planned centrally.

Incorrect Answers

A:

Storage is suitable for low-cost log archiving but does not itself offer the interactive KQL analysis experience requested for investigators.

B:

Event Hubs streams telemetry to downstream consumers, whereas the team requires native long-running queries rather than a separate ingestion pipeline.

C:

Metrics contain numeric time series and support fast alerts, but they are not the destination for detailed multiresource resource-log records and joins.

Question 63

An Azure SQL Database stores audit-critical account adjustments. Regulators do not merely want a backup; they need cryptographic evidence if a highly privileged person changes historical transaction data. Which relational-data design addresses this?

  1. Use supported Azure SQL ledger tables with database digests retained outside the database for later verification
  2. Add a standard clustered index and assume an index makes prior rows tamper-evident
  3. Place the SQL connection string in a VM startup script so only the server knows it
  4. Rely only on geo-replication, which proves that replicated data was never altered

Explanation

Correct Answer

A:

SQL ledger maintains cryptographically linked evidence for changes to ledger-enabled tables, and protected external digests allow an auditor to verify integrity later. This is tamper evidence, not a claim that backups or every database operation become physically impossible to manipulate.

Incorrect Answers

B:

A clustered index improves access paths and data organization; it does not create independent integrity proofs over historical row changes. An authorized database writer can still alter indexed data.

C:

A connection string's location does not provide an independently verifiable history of table values. Storing credentials in startup scripts may also increase exposure of privileged access.

D:

Geo-replicas normally receive logical changes from the source, whether valid or malicious. Multiple copies improve availability, not evidence that a sufficiently privileged actor did not tamper with the source history.

Question 64

A security group is assigned Owner at a high-level management group. What should an architect expect for descendant subscriptions absent more restrictive special controls?

  1. Only data-plane secret access in each Key Vault
  2. Privileges limited to the management-group object itself
  3. A separate billing account automatically created per subscription
  4. Inherited broad control-plane privileges on descendant scopes

Explanation

Correct Answer

D:

Azure RBAC assignments at ancestor management groups flow to child scopes, so high-level Owner materially expands the group's effective privileges.

Incorrect Answers

A:

Owner primarily grants management and delegation permissions; data-plane access depends on each service's authorization model.

B:

Management-group assignments inherit to child subscriptions and resources rather than remaining an isolated management-group annotation.

C:

Azure RBAC inheritance does not create or change subscriptions' billing relationships.

Question 65

An application accidentally overwrites or removes thousands of block blobs in one standard general-purpose v2 storage account. Operations wants to roll back a supported range of blobs to a selected time yesterday instead of recovering each object manually. Which capability and prerequisites should be planned?

  1. Use a higher access tier because access tiers themselves capture hourly recovery points
  2. Turn on storage account geo-redundancy and assume bad writes cannot reach the secondary
  3. Use only Blob inventory reports, which record a directly restorable content image
  4. Configure Blob point-in-time restore with the required soft delete, blob versioning and change feed settings and retention windows

Explanation

Correct Answer

D:

Blob point-in-time restore can rewind supported block blobs within a configured retention window. It requires soft delete, versioning and change feed; verify account compatibility, scope, limitations, cost and sufficient retention before relying on the recovery plan.

Incorrect Answers

A:

Hot, cool and cold tiers manage online access costs and latency; they do not by themselves capture consistent recovery states for a range of blob objects. Tier choice is not a substitute for object protection.

B:

Geo-redundancy protects against infrastructure or regional failure but generally propagates valid write and delete operations. It cannot alone reverse a mass accidental update from yesterday.

C:

Inventory helps enumerate and classify stored objects at an observed time, but it does not retain and apply every previous block-blob version needed for a point-in-time rollback.

Question 66

A financial system receives a continuous sequence of small messages for background processing and needs simple durable queue semantics, not a complex event log. Which storage service fits?

  1. Azure Table Storage
  2. Azure Queue Storage
  3. Azure Blob archive tier
  4. Azure Files

Explanation

Correct Answer

B:

Queue Storage stores messages for asynchronous workers with basic visibility and dequeue semantics, suitable for many simple decoupled processing paths.

Incorrect Answers

A:

Table Storage holds key-addressable entities rather than the consume-and-delete workflow of an ordinary work queue.

C:

Archive holds offline objects, which cannot provide rapid message dequeue for ongoing workers.

D:

A shared directory is not itself a managed message queue with visibility timeouts and dequeue operations.

Question 67

A business requires a user to authenticate with a FIDO2 security key instead of an SMS code for highly privileged sign-ins. Which identity capability should be used?

  1. An Azure Policy allowed-locations rule
  2. SMS-only MFA policy
  3. Azure DDoS Protection
  4. Microsoft Entra phishing-resistant authentication methods

Explanation

Correct Answer

D:

FIDO2/passkey authentication can satisfy phishing-resistant authentication-strength policies when enabled and targeted appropriately.

Incorrect Answers

A:

An allowed-locations rule restricts resource deployments, not the cryptographic strength of user sign-in factors.

B:

SMS can add a factor but does not provide phishing-resistant authentication assurance comparable to a hardware-backed passkey method.

C:

DDoS mitigates volumetric network attacks and cannot determine which authentication method a privileged user presents.

Question 68

A web app contains machine-specific paths and configuration files but the core code can run on App Service. What migration activity lowers risk?

  1. Compatibility testing and configuration externalization before cutover
  2. Leave database connection strings hard-coded to local IPs
  3. Copy the OS image directly to an App Service plan
  4. Skip staging validation because the code compiles

Explanation

Correct Answer

A:

Identifying filesystem, authentication, dependency, and configuration assumptions reveals what needs adjustment for managed web hosting.

Incorrect Answers

B:

Hard-coded local endpoints commonly break after migration when network and database locations change.

C:

App Service deploys applications rather than booting arbitrary on-premises VM disk images.

D:

Build success does not prove runtime access to dependencies, file semantics, or authentication works in Azure.

Question 69

An application is being refactored from monolithic Windows VMs to separately deployable HTTP services. Which compute architecture supports independent service scaling?

  1. Move only static images into Blob while keeping code coupled
  2. Combine all services into one larger VM process again
  3. Managed containers with independent workload components and ingress
  4. Use one hard-coded shared process ID for all components

Explanation

Correct Answer

C:

Separate container deployments on Container Apps or AKS can scale and release individual APIs without resizing the entire monolith.

Incorrect Answers

A:

Offloading assets may help performance but does not by itself decompose release or scaling units.

B:

A single deployment unit preserves coupled scaling and contradicts the independent service goal.

D:

Process IDs are host-local runtime details and do not form a resilient service boundary.

Question 70

A migration requires private access to multiple Azure PaaS services and architects assume one private endpoint covers every service in a storage account. Which correction is needed?

  1. Assume a Blob private endpoint automatically protects SMB shares
  2. Per-subresource storage private endpoints and DNS
  3. Disable all internal DNS queries permanently
  4. Use a network address tag as a substitute for endpoint design

Explanation

Correct Answer

B:

Blob, File, Queue and Table services can have distinct endpoints; availability depends on the subresources actually used by the application.

Incorrect Answers

A:

Blob and File are separate storage subresources, so a Blob endpoint does not implicitly configure the File endpoint.

C:

Without correct DNS, clients may fail to reach private PaaS endpoints even when network connectivity exists.

D:

Tags cannot establish the necessary private IP bindings or per-service DNS records.

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