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

Question 10

A compliance requirement says every new resource must carry an environment tag, and the platform should fill a default value when missing if supported. What should be designed?

  1. A resource lock
  2. Azure Policy modify effect with a managed identity where required
  3. An Azure Resource Graph workbook alone
  4. Azure Policy audit effect alone

Explanation

Correct Answer

B:

Modify can add or update supported resource properties and tags during evaluation, while remediation can address existing resources under appropriate permissions.

Incorrect Answers

A:

Locks prevent selected writes or deletes and do not automatically populate management metadata.

C:

A query can identify untagged assets but does not inject a default tag during new deployments.

D:

Audit reports noncompliance without adding the missing tag to resources that fail the requirement.

Question 11

A company already collects detailed resource logs but wants to minimize workspace charges by dropping low-value records before storage when supported. Which capability should be evaluated?

  1. Changing alert severity labels
  2. Data collection transformations with supported ingestion rules
  3. Adding dashboard visualizations
  4. Expanding query time range

Explanation

Correct Answer

B:

Supported transformations can filter or reshape eligible incoming records at ingestion, controlling analytical volume while preserving higher-value events.

Incorrect Answers

A:

Severity organizes operational response but does not filter underlying records or change ingestion volume.

C:

Dashboards only present collected measurements; they do not determine which log records are ingested or billed.

D:

Querying a longer time range does not reduce ingested log volume and can increase analysis work.

Question 12

A company must prevent public inbound access to its App Service application while allowing internal clients to reach it by private address. What should it configure?

  1. App Service private endpoint and private DNS
  2. A private endpoint on an unrelated SQL Database
  3. VNet integration alone
  4. Only a public Front Door custom domain

Explanation

Correct Answer

A:

Private Link supplies inbound private connectivity to the app; public network access and name resolution should align with the isolation design.

Incorrect Answers

B:

Privatizing the database does not make the App Service frontend itself private to internal clients.

C:

VNet integration chiefly affects outbound traffic from App Service and does not by itself create a private inbound endpoint.

D:

A public web hostname does not prevent the application endpoint from being accessed through public networking.

Question 13

Data engineers want a visual code-light transformation of CSV rows into standardized columns as part of a managed ETL pipeline. What component fits?

  1. Azure Traffic Manager
  2. A Storage account ReadOnly lock
  3. Data Factory mapping data flows
  4. A Data Factory Copy activity only

Explanation

Correct Answer

C:

Mapping data flows express scalable transformation logic graphically and execute supported data processing without requiring engineers to manage Spark infrastructure directly.

Incorrect Answers

A:

Traffic Manager manages DNS-based endpoint selection, not schema projection or column transformations.

B:

Locks affect ARM configuration and cannot execute row-level ETL transformations.

D:

Copy activities transfer data between supported stores but do not supply the full transformation graph requested for shaping rows.

Question 14

A data engineer needs to grant different folder-level permissions to analysts on a Data Lake Storage Gen2 filesystem. What security mechanism is relevant?

  1. POSIX-like access control lists on hierarchical namespace paths
  2. A Blob access-tier selection
  3. Only a subscription billing role
  4. A network security group rule alone

Explanation

Correct Answer

A:

ADLS Gen2 ACLs can express directory and file permissions alongside identity-based authorization, enabling fine-grained lake data access.

Incorrect Answers

B:

Hot or cool tiering changes storage economics and not folder-level authorization.

C:

Billing roles determine financial access and cannot express read or execute permissions on data lake folders.

D:

Network filtering controls traffic paths, not individual identities' rights to data lake directories.

Question 15

An app owner needs to authorize human users and unattended services differently within one API. What token information should it inspect?

  1. Only the VM hosting size
  2. Delegated scopes, app roles, and token validation
  3. Only the resource group's tags
  4. Only the caller's public IP address

Explanation

Correct Answer

B:

The API should distinguish a user's delegated permissions from app-only grants rather than treating every valid access token as equivalent.

Incorrect Answers

A:

Compute SKUs are capacity choices and carry no OAuth claims for identifying authorized users or services.

C:

Resource metadata is not a substitute for signed token scopes, roles, and intended audience.

D:

IP address alone cannot represent signed delegated permissions or an authorized workload application's roles.

Question 16

An analytics team wants to join substantial relational data from different operational systems in a dedicated analytical warehouse optimized for large SQL scans. What option is appropriate?

  1. A dedicated SQL pool in Azure Synapse Analytics
  2. Azure SQL Database Basic tier
  3. Azure Queue Storage
  4. Azure Files with SMB

Explanation

Correct Answer

A:

Dedicated pools distribute relational warehouse data and compute to support large analytic scans and aggregation rather than latency-sensitive OLTP.

Incorrect Answers

B:

A small transactional tier is not built to distribute large warehouse joins across analytical compute nodes.

C:

Queues transport messages between components and cannot serve as a relational query warehouse.

D:

A shared file protocol stores files but has no distributed SQL query engine for warehouse joins.

Question 17

A support engineer needs to examine an error pattern in a Log Analytics workspace across specific resources and summarize counts by error code. Which query language should the design use?

  1. Kusto Query Language (KQL)
  2. Azure Resource Graph query as a log replacement
  3. Transact-SQL against the workspace
  4. Azure CLI role-assignment listing

Explanation

Correct Answer

A:

KQL operates on workspace log tables with filtering, grouping, joins, and time-window functions suitable for the requested diagnostic summary.

Incorrect Answers

B:

Resource Graph primarily inventories Azure resource metadata and does not hold arbitrary detailed log events or application errors.

C:

T-SQL is used by relational database engines; a Log Analytics workspace is queried with KQL rather than a SQL Server connection.

D:

CLI inventory commands can report access configuration, but they do not aggregate error telemetry by code and time range.

Question 18

A design must protect a private application subnet from direct internet ingress while still allowing controlled egress for package updates. What two components form a strong baseline? Choose TWO.

  1. Allow unrestricted inbound RDP from the internet
  2. Network security group rules denying unwanted inbound flows
  3. Disable all DNS to prevent inbound requests
  4. Assign a public IP to every application VM
  5. NAT Gateway or inspected firewall egress

Explanation

Correct Answers

B:

NSG policy can restrict direct packet-level access from untrusted sources while allowing explicitly needed subnet traffic.

E:

Controlled outbound connectivity lets workloads reach update repositories without requiring per-VM public IPs.

Incorrect Answers

A:

Public administrative ingress creates a high-risk path that the design must avoid.

C:

DNS disablement can break legitimate updates and application dependencies without providing a proper network security architecture.

D:

Direct public exposure expands the ingress attack surface contrary to the segmentation objective.

Question 19

During a planned Site Recovery test, the business needs to prove VMs boot in the secondary region without impacting production traffic. Which activity fits?

  1. Only view the replication health icon
  2. Delete all source VMs before the test
  3. Run an unplanned real failover immediately
  4. ASR test failover into an isolated test network

Explanation

Correct Answer

D:

Test failover validates replicated workloads and recovery steps while an isolated network can protect production services from duplicate IPs and unintended traffic.

Incorrect Answers

A:

Replication health is useful evidence but does not prove application startup and dependency recovery in the target environment.

B:

Removing the source eliminates the safe recovery baseline and turns the validation exercise into a destructive migration.

C:

A live failover can redirect production workloads and create avoidable disruption when validation is the stated goal.

Question 20

A company needs to report Azure costs by owning department across resource types and subscriptions. What governance convention should it enforce?

  1. A consistent department or cost-center tagging standard
  2. Use VM computer names as the sole cost identifier
  3. Rely only on Azure region names
  4. Assign every resource a public IP address

Explanation

Correct Answer

A:

Required tags provide allocation dimensions across resources; policy can assess or add supported tags and reports can aggregate labeled resources.

Incorrect Answers

B:

Compute hostnames omit PaaS, storage, and networking services and are unreliable cross-service allocation labels.

C:

Regions describe resource locations, not business department ownership for shared clouds.

D:

Public IPs have no relation to departmental accountability and introduce cost and exposure.

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