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

Question 300

A firm wants a central view of recommended cost savings and reliability improvements for existing resources. What service provides this advisory function?

  1. Application Gateway listener configuration
  2. Azure Policy deny rules
  3. Azure Advisor recommendations
  4. Azure Resource Manager deployment history

Explanation

Correct Answer

C:

Advisor analyzes supported resource configurations and usage patterns to recommend optimizations across cost, reliability, security, performance, and operational excellence.

Incorrect Answers

A:

Listeners receive application traffic and cannot analyze an estate for cost or reliability recommendations.

B:

Policy enforces predefined governance conditions but does not by itself generate workload-optimization recommendations from usage patterns.

D:

Deployment history records provisioning operations rather than calculating broad optimization recommendations for the estate.

Question 301

A company needs to remediate a missing monitoring agent configuration at scale, but remediation identity must not be subscription Owner. What should be planned?

  1. Use a network security group flow log as an agent installer
  2. Least-privilege policy-assignment identity
  3. Grant anonymous access to all resource groups
  4. Give every monitored VM a permanent Global Administrator account

Explanation

Correct Answer

B:

DeployIfNotExists remediation needs the specified permissions at relevant scopes; a narrowly scoped identity reduces privilege exposure.

Incorrect Answers

A:

Traffic telemetry reports network behavior and does not install guest monitoring configuration.

C:

Unauthenticated changes violate access controls and cannot safely execute ARM remediation actions.

D:

Tenant-wide directory privilege is unrelated to installing a resource extension and is vastly excessive.

Question 302

The team must protect a backup repository from accidental changes by a highly privileged operator. Which administrative safeguard is useful in addition to immutability?

  1. Grant every developer vault administrator permissions
  2. Multiuser authorization for critical backup operations
  3. Set the storage tier to hot
  4. Store all approval secrets in a public Git repository

Explanation

Correct Answer

B:

An additional approval or security process makes sensitive disable or delete actions harder to execute using one compromised privileged identity.

Incorrect Answers

A:

Wider administrative access increases exposure and undermines separation of duties.

C:

Storage tiering affects access economics but cannot enforce an independent approval decision on destructive backup actions.

D:

Publishing control credentials creates the very single-point compromise that backup isolation aims to avoid.

Question 303

A large workload exposes an API to both employees and partners, with different quotas and identity policies. Which architecture boundary is useful?

  1. API Management products with per-consumer policies
  2. One network rule allowing every public IP
  3. Separate Azure Storage access tiers by consumer type
  4. A single global admin account for all API clients

Explanation

Correct Answer

A:

APIM can organize APIs and impose differentiated access, throttling, and subscription policies while backends enforce business authorization.

Incorrect Answers

B:

A broad address rule cannot distinguish employee versus partner identity or rate entitlements.

C:

Blob tiers concern object economics rather than authenticated API quotas and partner-specific throttling.

D:

Shared high privilege removes caller accountability and cannot express safe per-consumer limits.

Question 304

A business is moving a SQL Server database to Azure SQL Database and needs to identify incompatible syntax and features before application cutover. What activity fits?

  1. Database migration assessment using supported tooling
  2. Disable database backups during the migration project
  3. Change DNS records first and discover errors afterward
  4. Increase source VM storage without compatibility testing

Explanation

Correct Answer

A:

Compatibility assessment identifies source features, blockers, and changes before schema and data are migrated into the intended Azure SQL target.

Incorrect Answers

B:

Removing recovery points increases risk and has no direct benefit to discovering incompatible features.

C:

Premature cutover exposes users to an unvalidated target that may reject queries or missing features.

D:

Extra capacity does not reveal unsupported SQL Server syntax, cross-database dependencies, or login requirements.

Question 305

A team plans to host an application that uses on-premises Kerberos/LDAP protocols unchanged and wants managed directory services in Azure without operating domain controllers. Which option fits?

  1. Microsoft Entra ID alone
  2. An Azure managed identity alone
  3. Microsoft Entra Domain Services
  4. Azure Bastion

Explanation

Correct Answer

C:

The managed domain offers supported domain join, LDAP, Kerberos, and NTLM capabilities for legacy workloads without the customer managing domain controller VMs.

Incorrect Answers

A:

Cloud identity supports modern protocols, but is not a drop-in managed domain controller service for conventional LDAP and Kerberos workloads.

B:

A workload identity can request Azure tokens but does not provide traditional domain join or directory protocols to legacy software.

D:

Bastion provides browser-based management connectivity to VMs and does not host a managed Active Directory domain.

Question 306

A compute architecture must scale processing instances only while messages exist, but many tasks have costly initialization. What should designers balance?

  1. Increase storage account tags to lower initialization cost
  2. Event scaling tuned for startup and batch size
  3. Always start maximum instances even with no queue activity
  4. Use only a fixed monthly budget alert to trigger task execution

Explanation

Correct Answer

B:

Aggressive zero-scale reduces idle cost, whereas warm capacity and larger batches can improve latency and initialization efficiency under bursts.

Incorrect Answers

A:

Tags do not change worker startup time or runtime scheduling decisions.

C:

Peak permanent capacity increases spending without matching variable processing demand.

D:

Budget alerts measure expenditure and are not an accurate runtime scaler for pending messages.

Question 307

A database has redundant servers but application sessions break whenever failover changes the primary node. What should be improved?

  1. Increase the number of Azure portal favorites
  2. Disable database backup retention
  3. Put application logs into Blob archive
  4. Connection resiliency with retry and stable listener endpoints

Explanation

Correct Answer

D:

The app must reconnect after expected failovers and use the appropriate listener while preserving idempotent transaction semantics.

Incorrect Answers

A:

Portal navigation preferences have no impact on SQL connection recovery.

B:

Historical backup history is independent of client reconnection behavior during availability failover.

C:

Log tiering cannot repair broken active database sessions after a primary endpoint changes.

Question 308

A Cosmos DB container has hot logical partitions because nearly every request uses the same partition-key value. What should the architect revisit?

  1. The partition-key choice and workload distribution
  2. The Azure subscription display name
  3. Only the blob access tier of unrelated storage
  4. The browser's preferred locale

Explanation

Correct Answer

A:

A high-cardinality, well-distributed partition key spreads logical data and request units across physical partitions instead of concentrating traffic on one hot key.

Incorrect Answers

B:

Changing subscription metadata does not distribute documents or request units across Cosmos DB partitions.

C:

Blob tiers control object-storage costs and cannot repair Cosmos DB partition skew.

D:

Client locale does not alter the database's partition-key hash distribution or throughput hot spots.

Question 309

A database design needs to prevent concurrent application workers from overwriting each other's edits to a record without realizing it. What data-access pattern fits?

  1. Rely solely on a public endpoint allowlist
  2. Archive old Blob objects nightly
  3. Increase storage redundancy from LRS to GRS
  4. Optimistic concurrency with a version token or rowversion column

Explanation

Correct Answer

D:

The application checks a version when updating, so conflicting writes can be detected and handled rather than silently replacing a newer edit.

Incorrect Answers

A:

Allowlisting restricts where connections originate, not transaction concurrency among authorized workers.

B:

Blob lifecycle actions do not govern concurrency of transactional SQL rows.

C:

Durability replicas protect against infrastructure failure but do not resolve competing logical row updates.

Question 310

A hub-and-spoke deployment creates and replaces Azure Storage private endpoints through infrastructure as code. Private DNS A records sometimes become stale after an endpoint changes. The team wants DNS records managed with the lifecycle of each private endpoint, without hand-maintained scripts. What should the deployment define?

  1. Create public CNAME records for every private endpoint and disable the private DNS zone
  2. Associate a private DNS zone group with the private endpoint and the appropriate linked private DNS zone
  3. Configure an inbound Azure DNS Private Resolver endpoint but never associate the private endpoint with a DNS zone
  4. Use a virtual network service endpoint instead; it automatically preserves the same private endpoint address

Explanation

Correct Answer

B:

A private DNS zone group binds the private endpoint to its relevant Azure Private DNS zone and manages records as endpoint configuration changes. Ensure the intended VNets are linked to the zone so clients can resolve the registered names.

Incorrect Answers

A:

Public DNS aliases do not create and manage the private endpoint address records inside the private DNS zone. Public CNAME-only resolution can also break the desired private network behavior.

C:

An inbound resolver endpoint provides a target for DNS queries forwarded from outside the virtual network; it does not by itself create or synchronize A records for the private endpoint. Record management still needs the DNS zone integration.

D:

A service endpoint and a private endpoint are different networking mechanisms. A service endpoint does not retain the private IP identity or DNS lifecycle of a private endpoint recreated by infrastructure as code.

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