Security requires that the workspace allow outbound traffic only to destinations you approve, with no internet access by default. Which setting fits?
- Exam domain
- Design and implement an MLOps infrastructure15–20% of the exam
- Difficulty
- Hard
- In this mock
- 13 questions on this domainPractise this domain
Why the exam asks this
Design and implement an MLOps infrastructure: Implement IaC for Machine Learning.
Objective in the exam guide: Restrict network access to Machine Learning workspaces.
Data exfiltration is a top concern for regulated data. The exam checks you know the managed network modes.
Why B is the answer
A managed virtual network in Allow Only Approved Outbound mode
Managed network isolation has an approved-outbound mode that blocks outbound traffic except to rules you add.
How it works
A managed virtual network is created and managed by Azure Machine Learning for the workspace's compute.
Allow Internet Outbound mode permits all outbound internet traffic.
Allow Only Approved Outbound mode blocks outbound traffic except to destinations allowed by outbound rules.
Clues in the question
The words that point to the answer, and what each one tells you.
- Only to destinations you approve
- Approved outbound mode.
- No internet access by default
- Not internet outbound mode.
In detail
- Inbound access can be limited further by disabling public network access and using a private endpoint.
- Outbound rules can allow service tags, private endpoints or FQDNs.
Side by side with look-alikes
| Mode | Outbound internet |
|---|---|
| A managed virtual network in Allow Only Approved Outbound mode | Only approved destinations |
| Allow Internet Outbound mode | All allowed |
| Disabled (no managed network) | Depends on your own network |
| Content filter | Not a network control |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A larger compute clusterWrong
Compute size has nothing to do with network rules.
B. A managed virtual network in Allow Only Approved Outbound modeRight
Managed network isolation has an approved-outbound mode that blocks outbound traffic except to rules you add.
C. A managed virtual network in Allow Internet Outbound modeWrongMost tempting
This mode allows all internet outbound traffic.
Why it tempts: It is a managed network, so it sounds isolated. But it allows all outbound internet traffic.
D. A content filter on the workspaceWrong
A content filter inspects model content, not network traffic.
In practice
- Add outbound rules for package repositories you rely on before switching modes, or environment builds will fail.