Designing Microsoft Azure Infrastructure Solutions (AZ-305) — Free Practice Questions
10 free sample questions from a bank of 277, with the correct answers and explanations. No signup required — start practising right now.
1You have an Azure subscription that contains a custom application named Application1. Application1 was developed by an external company named Fabrikam,
Ltd. Developers at Fabrikam were assigned role-based access control (RBAC) permissions to the Application1 components. All users are licensed for the
Microsoft 365 E5 plan.
You need to recommend a solution to verify whether the Fabrikam developers still require permissions to Application1. The solution must meet the following
requirements:
✑ To the manager of the developers, send a monthly email message that lists the access permissions to Application1.
✑ If the manager does not verify an access permission, automatically revoke that permission.
✑ Minimize development effort.
What should you recommend?
In Azure Active Directory (Azure AD), create an access review of Application1.
Create an Azure Automation runbook that runs the Get-AzRoleAssignment cmdlet.
In Azure Active Directory (Azure AD) Privileged Identity Management, create a custom role assignment for the Application1 resources.
Create an Azure Automation runbook that runs the Get-AzureADUserAppRoleAssignment cmdlet.
Answer: A
The short version
A — Access reviews deliver monthly manager attestation with auto-revocation. The stem needs emailed permission lists, manager verification and automatic removal without custom code, which is the native purpose of Azure AD access reviews.
Key concepts in this question
Access reviews: recurring reviewer-driven checks asking managers or owners to confirm continued need for access, with auto-apply results.
RBAC on Application1: external Fabrikam developers hold role assignments that must be recertified rather than left standing indefinitely.
Automation runbooks: custom scripting with Get-AzRoleAssignment that only reports assignments and cannot drive reviewer workflow.
PIM role assignments: just-in-time elevation for privileged roles, not a periodic attestation campaign with email to managers.
Minimize development effort: favors a built-in governance feature over writing and maintaining automation code.
Why A is correct
A is correct because Azure AD access reviews natively send reviewers a list of access, repeat on a schedule such as monthly, and can auto-remove denied or unreviewed access. That covers all three requirements for Fabrikam developers with no custom development. The feature integrates with Microsoft 365 E5 licensing and targets application or group membership recertification directly.
Why the others are wrong
B. An Automation runbook listing role assignments provides a report only, with no reviewer email cycle or auto-revoke on no response.
C. PIM custom role assignments control elevation and activation, they do not orchestrate monthly manager attestation for existing RBAC grants.
D. A runbook using Get-AzureADUserAppRoleAssignment similarly reports app role grants without attestation workflow or automatic removal.
AZ-305 exam tip
For AZ-305, map verify still needs access plus auto-remove to access reviews, and map elevate just in time to PIM.
2You have an Azure subscription. The subscription has a blob container that contains multiple blobs.
Ten users in the finance department of your company plan to access the blobs during the month of April.
You need to recommend a solution to enable access to the blobs during the month of April only.
Which security solution should you include in the recommendation?
shared access signatures (SAS)
Conditional Access policies
certificates
access keys
Answer: A
The short version
A — Shared access signatures grant time-boxed blob access without sharing keys. April-only access for ten finance users is exactly the delegated, expiry-driven scenario SAS was designed to solve.
Key concepts in this question
Shared access signatures: signed URI tokens granting constrained permissions on containers or blobs with start, expiry and IP limits.
Blob container with multiple blobs: a storage scope where delegated read access can be issued per container without touching account keys.
Conditional Access policies: identity-level controls for apps and sign-in risk, unable to authorize anonymous time-limited blob reads.
Certificates: authentication credentials for service identity or TLS, not a storage delegation mechanism with expiry.
Access keys: long-lived account root secrets that grant full control and cannot be safely scoped to April-only finance reads.
Why A is correct
A is correct because SAS lets the architect issue URLs valid only during April, restricted to read on the finance blobs, without distributing storage account keys. Expiry automatically ends access when the month closes, satisfying the temporary requirement cleanly. It avoids account-key rotation risk and needs no identity changes for the ten users.
Why the others are wrong
B. Conditional Access governs interactive sign-in to apps, it cannot create expiring delegated URLs for blob storage.
C. Certificates prove identity for authentication but do not encode storage permissions plus time windows for blobs.
D. Access keys are durable full-access secrets, sharing them violates least privilege and provides no automatic April cutoff.
AZ-305 exam tip
On AZ-305, choose SAS whenever the stem says temporary plus storage plus without sharing keys, and set expiry to the required window.
3You have an Azure Active Directory (Azure AD) tenant that syncs with an on-premises Active Directory domain.
You have an internal web app named WebApp1 that is hosted on-premises. WebApp1 uses Integrated Windows authentication.
Some users work remotely and do NOT have VPN access to the on-premises network.
You need to provide the remote users with single sign-on (SSO) access to WebApp1.
Which two features should you include in the solution? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Azure AD Application Proxy
Azure AD Privileged Identity Management (PIM)
Conditional Access policies
Azure Arc
Azure AD enterprise applications
Azure Application Gateway
Answer: A, E
The short version
AE — Application Proxy plus enterprise apps publish on-premises SSO externally. Remote users without VPN reach WebApp1 through a cloud endpoint secured by Azure AD, preserving Integrated Windows Authentication inside.
Key concepts in this question
Azure AD Application Proxy: a lightweight connector inside the corporate network that relays external requests to internal apps without opening inbound ports.
Enterprise applications: the Azure AD registration point where SSO, user assignment and policies are configured for WebApp1.
Integrated Windows Authentication: Kerberos or NTLM used by WebApp1 on-premises, translated via Kerberos constrained delegation.
PIM and Conditional Access: governance for elevation and access conditions, neither publishes an internal URL to the internet.
Azure Arc and App Gateway: server management plus regional load balancing, neither provides secure remote SSO publishing.
Why AE is correct
AE is correct because the pair forms the documented remote-access pattern for Integrated Windows Authentication apps. Application Proxy exposes WebApp1 through an Azure AD URL, while the enterprise application object defines SSO behavior and assignment. Remote staff authenticate once to Azure AD and receive single sign-on with no VPN needed.
Why the others are wrong
B. PIM manages just-in-time privileged role activation, it does not publish internal web apps for remote SSO.
C. Conditional Access adds policy on top of access but cannot itself expose an on-premises URL externally.
D. Azure Arc extends management to hybrid servers, it provides no authenticated publishing path.
F. Application Gateway load-balances inside Azure and VNet perimeters, it is not the remote SSO solution here.
AZ-305 exam tip
Memorize for AZ-305 that on-premises web app plus no VPN plus SSO equals Application Proxy with an enterprise app entry.
4You have an Azure Active Directory (Azure AD) tenant named contoso.com that has a security group named Group1. Group1 is configured for assigned
membership. Group1 has 50 members, including 20 guest users.
You need to recommend a solution for evaluating the membership of Group1. The solution must meet the following requirements:
✑ The evaluation must be repeated automatically every three months.
✑ Every member must be able to report whether they need to be in Group1.
✑ Users who report that they do not need to be in Group1 must be removed from Group1 automatically.
✑ Users who do not report whether they need to be in Group1 must be removed from Group1 automatically.
What should you include in the recommendation?
Implement Azure AD Identity Protection.
Change the Membership type of Group1 to Dynamic User.
Create an access review.
Implement Azure AD Privileged Identity Management (PIM).
Answer: C
The short version
C — Access reviews automate quarterly group recertification with self-attestation. Every member reporting need plus auto-removal for denials and non-response is the textbook access-review policy.
Key concepts in this question
Access reviews: scheduled campaigns where reviewers confirm membership, with options to auto-apply removals for denied or unanswered items.
Assigned membership group: Group1 with fifty members including guests needs human attestation, since rules cannot judge business need.
Identity Protection: risk-based sign-in and user-risk policies for compromised credentials, not periodic membership attestation.
Dynamic User membership: rule-driven inclusion by attributes, which removes self-attestation and cannot ask users to confirm need.
PIM: time-bound activation for eligible privileged assignments, not recurring review of a general security group.
Why C is correct
C is correct because only access reviews repeat automatically every three months, ask each member to declare continued need, and remove users who decline or fail to respond. The auto-apply setting enforces both removal clauses without manual cleanup. That maps one-to-one to the four bulleted requirements for Group1 in contoso.com.
Why the others are wrong
A. Identity Protection detects risky sign-ins and enforces remediation, it does not run quarterly membership attestation campaigns.
B. Dynamic membership applies attribute rules automatically and eliminates per-user need reporting, the opposite of the requirement.
D. PIM governs activation of privileged roles, not recurring recertification of a fifty-member assigned security group.
AZ-305 exam tip
When AZ-305 says repeat automatically plus self-report plus auto-remove non-responders, answer access reviews immediately.
5You are designing a large Azure environment that will contain many subscriptions.
You plan to use Azure Policy as part of a governance solution.
To which three scopes can you assign Azure Policy definitions? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Azure Active Directory (Azure AD) administrative units
Azure Active Directory (Azure AD) tenants
subscriptions
compute resources
resource groups
management groups
Answer: C, E, F
The short version
CEF — Subscriptions plus resource groups plus management groups are policy scopes. Those three levels form the Azure hierarchy where definitions can be assigned.
Key concepts in this question
Azure Policy assignment scope: the level at which a definition takes effect and from which children inherit.
Management groups: top-level containers that govern many subscriptions together for enterprise governance.
Subscriptions: billing and access boundary that groups resource groups under one agreement.
Resource groups: deployment and lifecycle container for related resources inside a subscription.
Non-scope objects: tenants, admin units, and compute resources are identity or resource types, not assignment levels.
Why CEF is correct
Azure Policy definitions assign at management group, subscription, or resource-group scope, with inheritance flowing downward to all child resources. That matches the portal scope picker described in vendor prose and the unanimous consensus for C plus E plus F. Tenant-wide or per-resource assignment is not offered, because governance follows the management hierarchy. Selecting those three scopes therefore covers every valid complete solution.
Why the others are wrong
A. Admin units scope identity administration, not Azure Policy definition assignment.
B. Tenants are the identity boundary, but policy assignment starts at management groups below it.
D. Compute resources are assignment targets through inheritance, not scopes themselves.
AZ-305 exam tip
Policy scopes memorize as management group plus subscription plus resource group, never tenant or single resource.
6You need to recommend a solution to generate a monthly report of all the new Azure Resource Manager (ARM) resource deployments in your Azure subscription.
What should you include in the recommendation?
Azure Activity Log
Azure Advisor
Azure Analysis Services
Azure Monitor action groups
Answer: A
The short version
A — Azure Activity Log tracks ARM resource deployments monthly. It records control-plane writes that create resources in the subscription.
Key concepts in this question
Activity Log purpose: subscription-level event log for create, update, and delete operations on Azure Resource Manager resources.
Monthly deployment report: needs who created what and when, which control-plane audit data provides.
Advisor role: gives best-practice recommendations for cost and reliability, not an audit trail of deployments.
Analysis Services: tabular modeling engine for analytics, unrelated to ARM operation logging.
Action groups: route alerts to notifications, but do not store deployment history themselves.
Why A is correct
Every ARM deployment emits an entry in the Activity Log with operation name, caller, timestamp, and resource details. Querying or exporting that log for the month yields exactly the new-resource inventory requested. Vendor consensus is unanimous for A because no other listed service keeps the authoritative subscription audit trail. Advisor, Analysis Services, and action groups lack deployment event retention.
Why the others are wrong
B. Advisor suggests optimizations but does not log who deployed which ARM resources.
C. Analysis Services models business data, not subscription control-plane operations.
D. Action groups deliver alert notifications without retaining deployment audit records.
AZ-305 exam tip
Monthly who-deployed-what equals Activity Log, Advisor equals advice, Monitor alerts need action groups for delivery.
7Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might
meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your company deploys several virtual machines on-premises and to Azure. ExpressRoute is deployed and configured for on-premises to Azure connectivity.
Several virtual machines exhibit network connectivity issues.
You need to analyze the network traffic to identify whether packets are being allowed or denied to the virtual machines.
Solution: Use Azure Traffic Analytics in Azure Network Watcher to analyze the network traffic.
Does this meet the goal?
Yes
No
Answer: B
The short version
B — No, Traffic Analytics cannot tell whether packets were allowed or denied. It visualizes flow patterns and top talkers from NSG flow logs but does not evaluate effective security rules per packet.
Key concepts in this question
Traffic Analytics: an Azure Network Watcher add-on aggregating flow logs for traffic distribution, hotspots and geographic insight.
Allow versus deny determination: requires checking NSG and firewall rule evaluation for a specific source, destination, port and protocol.
IP flow verify: the Network Watcher test that simulates a packet and reports whether it would be allowed or denied and by which rule.
ExpressRoute hybrid path: on-premises to Azure connectivity where VM issues may involve NSGs, UDRs or gateway routing.
Yes-or-No series logic: each proposed solution must independently satisfy the goal, Traffic Analytics alone falls short here.
Why B is correct
B is correct because analyzing whether packets are allowed or denied demands a rule-evaluation check, not a flow-visualization dashboard. Traffic Analytics shows volumes and trends after the fact and depends on flow-log aggregation latency. It cannot state that a given packet to a VM would be allowed or blocked, so the proposed solution does not meet the stated goal.
Why the others are wrong
A. Yes is wrong because Traffic Analytics lacks packet-level allow-or-deny verdicts and rule attribution for VM connectivity triage.
AZ-305 exam tip
For AZ-305 Network Watcher, use IP flow verify for allowed or denied verdicts and Traffic Analytics only for patterns and volumes.
8Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might
meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your company deploys several virtual machines on-premises and to Azure. ExpressRoute is deployed and configured for on-premises to Azure connectivity.
Several virtual machines exhibit network connectivity issues.
You need to analyze the network traffic to identify whether packets are being allowed or denied to the virtual machines.
Solution: Use Azure Advisor to analyze the network traffic.
Does this meet the goal?
Yes
No
Answer: B
The short version
B — No, Azure Advisor gives best-practice guidance, not packet analysis. It cannot inspect network traffic to decide whether packets reach VMs as allowed or denied.
Key concepts in this question
Azure Advisor: a personalized recommendation engine for cost, security, reliability and performance across subscriptions.
Network traffic analysis: examination of flows, NSG decisions and routing needed to diagnose VM connectivity over ExpressRoute.
IP flow verify and packet capture: Network Watcher tools that actually test rule outcomes or record packets for allow-or-deny proof.
ExpressRoute hybrid topology: on-premises plus Azure VMs where faults may sit in NSGs, routes or gateway health.
Series question discipline: each solution stands alone, Advisor recommendations alone do not satisfy a traffic-inspection goal.
Why B is correct
B is correct because Advisor produces proactive recommendations such as enable NSG flow logs or right-size VMs, but it never analyzes live or logged traffic for allow-versus-deny outcomes. It has no packet-simulation or flow-verdict capability for a specific VM conversation. Therefore using Advisor to analyze traffic to identify allowed or denied packets does not meet the goal.
Why the others are wrong
A. Yes is wrong because Advisor lacks traffic-inspection and rule-evaluation functions required to prove packet disposition.
AZ-305 exam tip
Remember Advisor equals recommendations, Network Watcher equals verification: never pick Advisor for packet allow-or-deny questions.
9Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might
meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your company deploys several virtual machines on-premises and to Azure. ExpressRoute is deployed and configured for on-premises to Azure connectivity.
Several virtual machines exhibit network connectivity issues.
You need to analyze the network traffic to identify whether packets are being allowed or denied to the virtual machines.
Solution: Use Azure Network Watcher to run IP flow verify to analyze the network traffic.
Does this meet the goal?
Yes
No
Answer: A
The short version
A — Yes, IP flow verify directly reports allowed or denied for a packet. It simulates the specified five-tuple against NSG and UDR rules and names the blocking or permitting rule.
Key concepts in this question
IP flow verify: a Network Watcher diagnostic that tests whether a packet with given source, destination, protocol and ports would be allowed.
NSG and UDR evaluation: the effective security and routing logic that decides VM reachability in Azure and hybrid ExpressRoute designs.
Traffic Analytics contrast: useful for aggregated trends but unable to give a definitive per-packet verdict like IP flow verify.
Advisor contrast: recommendation-focused, with no simulation of packet fate against live effective rules.
VM connectivity triage: isolating whether drops come from security rules versus routing or gateway faults.
Why A is correct
A is correct because IP flow verify was built for exactly this question: analyze traffic to identify whether packets are allowed or denied to VMs. It returns an allow or deny verdict plus the responsible NSG rule, giving actionable proof for ExpressRoute and Azure VM troubleshooting. That capability satisfies the goal without waiting for flow-log aggregation or packet captures.
Why the others are wrong
B. No is wrong because IP flow verify is the documented Network Watcher tool for allow-or-deny determination on VMs.
AZ-305 exam tip
On AZ-305, when the stem asks allowed or denied plus Network Watcher, choose IP flow verify as the meeting solution.
10Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your company deploys several virtual machines on-premises and to Azure. ExpressRoute is deployed and configured for on-premises to Azure connectivity.
Several virtual machines exhibit network connectivity issues.
You need to analyze the network traffic to identify whether packets are being allowed or denied to the virtual machines.
Solution: Install and configure the Azure Monitoring agent and the Dependency Agent on all the virtual machines. Use VM insights in Azure Monitor to analyze the network traffic.
Does this meet the goal?
Yes
No
Answer: B
The short version
B — No, VM insights with agents cannot prove allow or deny packet fate. Dependency maps show flows, not NSG rule verdicts for the troubled VMs.
Key concepts in this question
Goal: determine whether packets are allowed or denied to VMs across on-premises plus ExpressRoute plus Azure paths.
VM insights scope: Monitoring agent plus Dependency agent collect performance and connection maps for health and topology.
IP flow verify role: Network Watcher simulation that tests a five-tuple against effective NSGs and routes for an allow or deny verdict.
Series discipline: each proposed solution stands alone and must fully satisfy the stated traffic-analysis need.
ExpressRoute triage: faults may sit in NSGs, user routes, or gateway health, requiring rule-level proof.
Why B is correct
VM insights reveals process dependencies and latency but does not evaluate network security rules for a specific packet. It cannot state which NSG allowed or denied traffic to the affected VMs. The correct tool for that verdict is IP flow verify or packet capture analysis. Vendor prose points to Network Watcher for filtering issues, so the agent plus insights proposal does not meet the goal and No is settled.
Why the others are wrong
A. Yes is wrong because insights lack packet-level allow-or-deny evaluation against effective security rules.
AZ-305 exam tip
Allowed or denied plus VMs equals IP flow verify, not VM insights, Advisor, or Dependency maps.