The correct answer is to add the developers’ public IP addresses to the ipRules list. This is necessary because the exhibit shows the Azure AI Service resource configured with “Selected Networks and Private Endpoints” and a defaultAction of “Deny,” meaning the service blocks all traffic except from explicitly permitted sources. Since the developers are not connected to the corporate VPN, they cannot use a virtual network rule, so the only way to grant access is by adding their public IPs to the ipRules list, which overrides the default deny for those specific addresses. On the AI-102 exam, this scenario tests your understanding of Azure AI Service network IP rules and how to troubleshoot access when “Selected Networks” is enabled—a common trap is assuming VPN or private endpoint is required, but the question explicitly states the developers are off VPN. Remember the memory tip: “Deny by default, allow by IP—no VPN? Add the IP.”
AI-102 Plan and manage an Azure AI solution Practice Question
This AI-102 practice question tests your understanding of plan and manage an azure ai solution. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Refer to the exhibit. You deployed this Azure AI Service resource. Developers report that they cannot call the service from their local machines using the API endpoint. The developers are not connected to the corporate VPN. What should you do?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Add the developers' public IP addresses to the ipRules list.
The exhibit shows that the Azure AI Service resource's network configuration has 'Selected Networks and Private Endpoints' enabled with a defaultAction of 'Deny'. This means only traffic from explicitly allowed IP addresses or virtual networks can reach the endpoint. Since the developers are not on the corporate VPN, they cannot use a virtual network rule. The correct solution is to add their public IP addresses to the ipRules list, which explicitly permits traffic from those specific IPs while keeping the default deny for all other traffic.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
Disable network ACLs entirely.
Why it's wrong here
Unnecessary; selective IP allow is better.
✓
Add the developers' public IP addresses to the ipRules list.
Why this is correct
Allows access from specific public IPs while keeping VNet rule.
Related concept
Read the scenario before looking for a memorised answer.
✗
Change defaultAction to Allow and remove all rules.
Why it's wrong here
Removes network security, which may not be desired.
✗
Add a second virtual network rule for the developers' subnet.
Why it's wrong here
Developers are not on any VNet; a VNet rule won't help.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse 'virtual network rules' with 'IP rules', assuming that adding a virtual network rule for the developers' subnet will work even when the developers are not connected to that subnet, but virtual network rules require the client to be within the specified VNet's IP space, which is not the case for local machines without VPN.
Detailed technical explanation
How to think about this question
Under the hood, Azure AI Services use the 'ipRules' array within the network ACLs to define a whitelist of IPv4 addresses or CIDR ranges. The defaultAction property controls the behavior for traffic that does not match any rule—'Deny' rejects all non-matching traffic, while 'Allow' permits it. When using 'Selected Networks and Private Endpoints', the service firewall evaluates rules in order: first virtual network rules, then IP rules, and finally the default action. This layered approach allows granular access control without exposing the service to the public internet.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Plan and manage an Azure AI solution — This question tests Plan and manage an Azure AI solution — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Add the developers' public IP addresses to the ipRules list. — The exhibit shows that the Azure AI Service resource's network configuration has 'Selected Networks and Private Endpoints' enabled with a defaultAction of 'Deny'. This means only traffic from explicitly allowed IP addresses or virtual networks can reach the endpoint. Since the developers are not on the corporate VPN, they cannot use a virtual network rule. The correct solution is to add their public IP addresses to the ipRules list, which explicitly permits traffic from those specific IPs while keeping the default deny for all other traffic.
What should I do if I get this AI-102 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.