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

Question 190

An organization wants security engineers to read Microsoft Entra sign-in logs without being able to manage Conditional Access policies. How should roles be designed?

  1. Assign Azure subscription Reader only
  2. Assign Key Vault Secrets Officer
  3. Grant Global Administrator to every engineer
  4. Use a dedicated read-only directory role for security reporting

Explanation

Correct Answer

D:

Appropriate Entra directory roles separate security report visibility from policy modification, unlike broadly privileged tenant administrator roles.

Incorrect Answers

A:

Azure RBAC Reader does not automatically provide directory-level access to Entra sign-in data.

B:

This vault-specific data role governs secrets operations, not Entra directory reporting or policy editing.

C:

Global Administrator grants far more directory control than reading audit evidence and creates avoidable privileged identities.

Question 191

A central platform team must identify resources that have drifted from an encryption policy after deployment. What should it rely on rather than a one-time template check?

  1. Only the initial pull-request review
  2. A static image of the deployment diagram
  3. A monthly Azure budget alert
  4. Continuous Azure Policy compliance evaluation

Explanation

Correct Answer

D:

Policy evaluates live resource properties against definitions, detecting deviations after initial deployment as well as at provisioning.

Incorrect Answers

A:

A code review checks intended configuration but cannot detect subsequent portal changes or unexpected resource drift.

B:

An architecture diagram expresses design, not evidence of current encryption configuration across running resources.

C:

Spend measurements do not establish whether live resources meet an encryption requirement.

Question 192

An organization wants to manage subscription ownership changes separately from application deployments and group related resources by shared lifecycle. Which organizing unit fits?

  1. Resource groups for lifecycle-based resources inside a subscription
  2. A Log Analytics table
  3. A Microsoft Entra app role
  4. An individual Azure availability zone

Explanation

Correct Answer

A:

A resource group groups Azure resources for management, deployment, and lifecycle operations while subscription administration remains a separate boundary.

Incorrect Answers

B:

A table holds telemetry records and has no resource-lifecycle control over compute and storage.

C:

App roles authorize actions inside applications rather than group ARM resources into managed collections.

D:

Zones provide distinct datacenter failure domains, not a management container for app deployment lifecycle.

Question 193

A single-zone VM powers a public API, and adding a second zone is impossible because the chosen region has no zone support. What should the architect consider?

  1. Change the VM's host name to zone2
  2. Second-region deployment with traffic failover
  3. Buy a higher tier of monitoring alerts only
  4. Assume an availability set spans Azure regions

Explanation

Correct Answer

B:

Cross-region replicas can address loss of the entire hosting location when availability zones are not offered, though cost and replication must be evaluated.

Incorrect Answers

A:

Naming conventions do not physically relocate the workload to an independent failure domain.

C:

Faster detection does not create another executable service instance that can take over traffic.

D:

Availability sets remain within a region and cannot give true cross-region failure diversity.

Question 194

A file server migration needs to transfer tens of terabytes, but network bandwidth is too low for the migration window. What transport approach should be evaluated?

  1. A constant online copy at any speed without bandwidth calculation
  2. Azure Traffic Manager
  3. An Azure Policy deny effect
  4. Azure Data Box offline transfer with appropriate staging

Explanation

Correct Answer

D:

A physical transfer device can move large datasets when WAN speed is limiting, followed by final incremental synchronization where required.

Incorrect Answers

A:

Ignoring transfer duration risks missing the deadline and allows the source data to change during the prolonged copy.

B:

DNS steering does not physically transport stored file data from the datacenter to Azure.

C:

Policy enforces resource configuration rules and cannot move multi-terabyte file collections.

Question 195

An application requires a resilient multi-region read strategy but can tolerate eventually consistent analytics in the remote region. What should be documented about a SQL secondary?

  1. Replication is asynchronous across regions and remote data can lag
  2. Remote replicas guarantee zero lag for every committed write
  3. Remote replicas provide a backup history for arbitrary old points
  4. Remote replicas eliminate all disaster recovery planning

Explanation

Correct Answer

A:

Cross-region readable secondaries can improve locality and DR, but the application must account for replication latency and read freshness.

Incorrect Answers

B:

Asynchronous geo-replication does not promise that a remote read immediately reflects the latest primary commit.

C:

Ongoing replication can propagate bad writes and is not equivalent to retained historical backups.

D:

A replica still requires failover, routing, testing, and application recovery logic appropriate to the design.

Question 196

A platform wants nodes that can be replaced without losing user sessions and application state. What should the architect require?

  1. Keep active sessions only in the local VM process
  2. Give every client an unchangeable node IP address
  3. Write critical records only to VM temporary storage
  4. Stateless compute with durable external state

Explanation

Correct Answer

D:

External session and transactional stores make replacement, scaling, and zonal rescheduling feasible without tying correctness to one ephemeral host.

Incorrect Answers

A:

A node crash loses sessions and makes load balancing or replacement disruptive.

B:

Pinned endpoints amplify failures and prevent transparent routing to newly created healthy instances.

C:

Temporary storage does not provide the durable state boundary needed for safe host replacement.

Question 197

The platform team needs a single visual view combining metrics and log query results from multiple services for on-call investigation. What should it design?

  1. A Key Vault certificate
  2. An Azure Monitor workbook
  3. A load balancer health probe
  4. An Azure Policy initiative

Explanation

Correct Answer

B:

Workbooks assemble metrics, logs, parameters, and visualizations into interactive operational reports without replacing the underlying data sources.

Incorrect Answers

A:

A certificate can support TLS or identity authentication, but does not visualize telemetry from infrastructure and applications.

C:

A health probe checks back-end availability for traffic decisions; it cannot combine disparate log and metric charts.

D:

An initiative groups compliance policies; it does not provide a mixed telemetry investigation canvas for an on-call engineer.

Question 198

An identity team wants an OAuth mobile application to sign users in without embedding a client secret in its distributable binary. Which client pattern fits?

  1. A resource group's managed identity
  2. A confidential client with a hard-coded secret in the app
  3. A public client using authorization code with PKCE
  4. A storage account key placed in the executable

Explanation

Correct Answer

C:

PKCE protects the authorization-code exchange for apps that cannot keep a shared secret confidential, such as mobile or native clients.

Incorrect Answers

A:

A mobile app outside an Azure-hosted resource cannot automatically use a resource-bound managed identity as its user sign-in protocol.

B:

A secret inside a distributed binary can be extracted, so it is not a reliable way to authenticate a native client.

D:

Storage keys do not implement user sign-in and would expose an account-wide data credential to every installation.

Question 199

A company needs an object store for images, PDFs, and videos that are retrieved over HTTP rather than mounted through an SMB filesystem. Which Azure service fits?

  1. Azure Blob Storage
  2. Azure Files as the only choice
  3. Azure SQL Database tables
  4. Azure Queue Storage

Explanation

Correct Answer

A:

Blob Storage provides scalable object storage with URL-based operations, access controls, replication, and access-tier choices for unstructured assets.

Incorrect Answers

B:

Files can store documents but emphasizes file share protocols, which are not required for direct HTTP object distribution.

C:

Storing large media as relational data can complicate scaling and cost when object semantics are sufficient.

D:

Queues hold messages for asynchronous work, not durable random-access media objects for customers.

Question 200

An internet-facing app must block SQL injection and cross-site scripting patterns before requests reach its servers. Which protection is most directly relevant?

  1. Azure NAT Gateway outbound rules
  2. A private DNS zone
  3. Web application firewall on Application Gateway or Front Door
  4. An NSG rule matching TCP port 443 only

Explanation

Correct Answer

C:

A WAF inspects HTTP(S) requests against managed and custom rules to mitigate common application-layer attacks.

Incorrect Answers

A:

Outbound source translation does not inspect inbound website requests for application attacks.

B:

Name resolution does not detect malicious HTTP request content.

D:

An NSG can allow or deny the connection but cannot inspect request payloads for injection patterns.

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