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

Question 320

A business-critical Azure SQL Database has a steady stream of expensive read-only reporting queries that compete with writes. The team wants to keep a managed database while directing eligible reporting sessions to a readable high-availability replica in the same region. What should it design?

  1. Scale only the storage account's Blob IOPS and keep all SQL reports on the primary
  2. Point the reporting connection string to a VM snapshot mounted as a SQL database
  3. Assume any General Purpose database automatically exposes a separate readable secondary to clients
  4. Use supported Azure SQL Database read scale-out on the appropriate service tier with ApplicationIntent=ReadOnly

Explanation

Correct Answer

D:

Supported Business Critical read scale-out routes read-intent sessions to a readable secondary with the correct connection-string setting. Validate replica freshness, transaction isolation and client routing; read replicas offload analysis but do not increase the primary's write throughput.

Incorrect Answers

A:

Blob storage account performance does not directly provision Azure SQL Database read replicas or move SQL query execution away from its primary node. Reporting and OLTP would still compete on the database compute path.

B:

VM snapshots aren't managed Azure SQL Database replicas and cannot be attached as an independent query endpoint. This would abandon the stated managed-service and live-data requirements.

C:

Readable high-availability replicas aren't exposed identically across every Azure SQL service tier. Architects must check the selected tier's read scale-out support rather than assuming General Purpose behaves like Business Critical.

Question 321

An AKS application has enough pod replicas, but a new revision returns errors immediately after each pod starts because its dependency initialization takes 40 seconds. What should control when a new pod becomes eligible for Service traffic?

  1. A liveness probe that restarts any pod which cannot answer within five seconds
  2. A Horizontal Pod Autoscaler that reacts to CPU percentage but does not test startup state
  3. A startup probe alone, without a readiness check for whether requests can be served
  4. A readiness probe that succeeds only after required dependencies are initialized

Explanation

Correct Answer

D:

A readiness probe advertises whether a pod can currently accept requests; Kubernetes excludes unready pod endpoints from normal Service routing. Gate readiness on completed initialization and useful dependency checks, and tune startup behavior separately.

Incorrect Answers

A:

A liveness probe is intended to restart stuck containers; an aggressive threshold during a normal warm-up can cause restart loops. Liveness does not define whether traffic should be routed to an otherwise running pod.

B:

The HPA changes desired replica counts from load signals, but scaling decisions alone do not establish that a just-created replica can serve requests. Service endpoint readiness needs a separate signal.

C:

A startup probe can give slow-starting containers extra time before liveness and readiness are evaluated, but without an accurate readiness signal it does not define application eligibility throughout operation.

Question 322

Several independent services need to react to one newly published business event, and consumers require separate delivery queues and filters. Which service design fits?

  1. A point-to-point synchronous API call chain
  2. One work queue consumed competitively by all services
  3. Azure Service Bus topics with subscriptions
  4. A storage account access key

Explanation

Correct Answer

C:

A topic can fan out durable messages to independently filtered subscriptions, decoupling multiple downstream consumers.

Incorrect Answers

A:

Direct calls couple the publisher to each subscriber's availability and scaling.

B:

A single queue distributes work among receivers rather than delivering a copy to every independent business subscriber.

D:

A credential cannot route events to independent subscriber groups or preserve asynchronous deliveries.

Question 323

A trading partner can transfer nightly CSV files only with an existing SFTP client. The Azure landing zone needs a managed Blob Storage landing area without operating an SFTP server VM. Which storage configuration should be evaluated?

  1. Enable SMB protocol on an ordinary Azure Blob container and ask the SFTP client to connect to port 445
  2. Publish a Blob SAS URL and assume it is itself an SSH/SFTP endpoint
  3. Enable SFTP on a supported general-purpose v2 or premium block-blob account with hierarchical namespace and configured user access
  4. Enable Azure Files NFS and use it directly with the partner's SSH File Transfer Protocol client

Explanation

Correct Answer

C:

Azure Blob Storage can accept native SFTP connections on supported storage accounts when hierarchical namespace and SFTP are enabled. Configure approved identities and network controls, and account for the additional SFTP running charge.

Incorrect Answers

A:

SMB is a file-sharing protocol associated with Azure Files, not a drop-in SFTP listener for standard Blob containers. A partner whose client speaks SFTP cannot automatically use an SMB endpoint.

B:

SAS authorizes supported HTTP Blob operations but does not create the SSH protocol endpoint required by a native SFTP client. The Azure Blob SFTP capability has its own account prerequisites and identity configuration.

D:

NFS exposes file-system operations to compatible NFS clients, but it is not the SFTP protocol over SSH. The partner would still need a compatible SFTP endpoint.

Question 324

A production platform uses Helm, Kubernetes operators, custom controllers, and a service mesh. Which compute choice preserves Kubernetes API control?

  1. Azure Container Apps without Kubernetes API access
  2. Azure App Service built-in containers
  3. Azure Container Instances alone
  4. Azure Kubernetes Service

Explanation

Correct Answer

D:

AKS provides managed Kubernetes control plane integration and access to Kubernetes APIs for advanced orchestration and ecosystem tooling.

Incorrect Answers

A:

Container Apps abstracts Kubernetes orchestration and does not expose the same control plane for custom operators.

B:

App Service can host containerized web apps but does not expose a general Kubernetes cluster for controllers and Helm releases.

C:

ACI runs containers but lacks full Kubernetes scheduling and operator support for the platform requirements.

Question 325

The security team wants a risk-based policy that challenges or blocks sign-ins flagged by identity risk detections. Which licensing-aware design is appropriate?

  1. An Azure Monitor CPU alert
  2. Entra ID Protection with risk-based Conditional Access
  3. Only basic tenant sign-in branding
  4. A management-group lock

Explanation

Correct Answer

B:

Sign-in and user risk signals are supported by Entra ID Protection and can drive risk-oriented grant controls when the required P2 licensing is present.

Incorrect Answers

A:

A CPU rule can page operators about workload pressure but cannot automatically enforce risk-based authentication policies.

C:

Branding changes the appearance of the login interface but neither detects risky authentications nor evaluates conditional grant decisions.

D:

Resource locks govern deletion or modification of Azure resources; they do not evaluate user risk in an Entra sign-in.

Question 326

A resource exists before a new policy is assigned. The team expects every preexisting noncompliant resource to be automatically deleted. Which correction is needed?

  1. Assume management-group placement migrates resources
  2. Assume audit shuts down noncompliant resources
  3. Assume deny deletes resources on the next scan
  4. Azure Policy remediation and enforcement actions

Explanation

Correct Answer

D:

Azure Policy evaluates existing resources for compliance, but a deny effect does not retroactively delete them; remediation requires supported effects and tasks.

Incorrect Answers

A:

Governance inheritance does not physically move or remove resources when policy evaluations change.

B:

Audit marks resources noncompliant and does not stop running workloads automatically.

C:

Deny blocks new or modified noncompliant requests; evaluation of old resources alone does not erase existing assets.

Question 327

A network requires high availability between on-premises and Azure over a private circuit, but one ExpressRoute circuit is a single operational dependency. What should be planned?

  1. Rely only on an Azure DNS alias
  2. Redundant ExpressRoute circuits or paths
  3. Use only a storage access key backup
  4. Treat one ExpressRoute circuit as immune to every provider outage

Explanation

Correct Answer

B:

A well-designed private connection evaluates diverse providers or locations, redundant gateway capacity, and failure testing beyond one circuit.

Incorrect Answers

A:

DNS does not recreate a lost physical enterprise WAN path to Azure private networks.

C:

A data credential cannot restore hybrid network connectivity after a circuit failure.

D:

A private circuit still depends on physical paths, providers and configured gateway infrastructure.

Question 328

A backup administrator has rights to manage a production Recovery Services vault. Security policy says that one compromised administrator must not be able to disable protective settings or perform protected destructive operations alone. What separation-of-duties design should be added?

  1. Give the backup administrator permanent Owner permission on the vault and on every approval resource
  2. Enable multi-user authorization using a Resource Guard administered under independently controlled permissions
  3. Protect the vault only by changing a resource-group display name
  4. Use an Azure Budget notification as the approval gate for deleting recovery points

Explanation

Correct Answer

B:

Azure Backup multi-user authorization can require access to a separately managed Resource Guard before protected operations proceed. Place its permissions with a different security administrator, ideally in a separate subscription or tenant, and test protected operations after configuration.

Incorrect Answers

A:

Granting the same identity control over both the backup vault and the guard removes the independent approval boundary. A compromise of that administrator could still authorize the protected critical operation.

C:

A cosmetic resource name doesn't change Azure RBAC or authorize high-impact backup actions. It offers no separation between vault operations and the protective approval resource.

D:

Budgets report or alert on spending thresholds and aren't a data-protection authorization mechanism. They cannot block an operator from invoking backup-vault security operations.

Question 329

The same financial settlement worker is deployed in two Azure regions for resilience. Exactly one regional instance must coordinate each daily settlement; if its region fails, another worker may take over, but concurrent leaders must be avoided. What pattern should the architects use?

  1. Run all workers on every timer event and rely on a global DNS record to prevent duplicate processing
  2. Use a distributed leader-election or lease mechanism with renewal, expiry, and safeguards against stale leaders
  3. Assign a static primary region forever and require manual application redeployment after every outage
  4. Enable Azure Front Door path routing and assume it serializes background jobs across regions

Explanation

Correct Answer

B:

Leader election selects one coordinator across competing workers; a renewable expiring lease, such as a carefully designed Blob lease, can transfer responsibility when its holder fails. The design should also guard against stale workers, split-brain effects, and a shared coordination-service outage.

Incorrect Answers

A:

DNS routing controls where client requests go but is not a mutual-exclusion primitive for scheduled background workers. Independent regional timers can execute the same financial operation concurrently.

C:

A permanently fixed coordinator cannot meet the failover requirement without manual intervention. This creates an avoidable operational single point of failure despite deploying standby workers.

D:

Front Door routes HTTP traffic and can fail over origins, but it does not grant an exclusive execution token to a background job. Coordination must occur in the application workflow or an appropriate distributed state service.

Question 330

An organization has hundreds of global branches and many Azure regions and wants a managed transit architecture rather than manually maintaining a large mesh. What should it consider?

  1. Azure Virtual WAN hubs and secured connectivity as required
  2. Manually peer every possible pair of VNets and branches
  3. Azure Front Door as the corporate IP WAN
  4. A public DNS zone as the routing core

Explanation

Correct Answer

A:

Virtual WAN centralizes branch, VPN, ExpressRoute and VNet connectivity in managed hubs, with routing and inspection design suited to global scale.

Incorrect Answers

B:

A full mesh becomes operationally complex and ignores centralized transit and routing capabilities at scale.

C:

Front Door is for web application delivery and does not carry arbitrary branch private network traffic as a WAN hub.

D:

DNS maps names to addresses but does not establish hybrid private routing or tunnel termination.

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