SC-500 practice question 9: Compute and AI
A virtual machine's management ports must be open only when an administrator needs them, and closed the rest of the time. Which Defender for Cloud capability does this?
The options
- A. Just-in-time VM access
- B. Leaving RDP open to the internet permanently
- C. Disabling the operating system firewall
- D. Adding more public IP addresses
Answer and why
The correct answer is A: Just-in-time VM access
A. JIT opens the management ports for a limited time on request and closes them again.
B. Permanent open management ports are a common attack entry.
C. Turning off the host firewall adds exposure.
D. More public addresses enlarge the attack surface.
What Compute and AI tests
Secure compute covers virtual machines, containers and application platform services, and security for AI workloads. Expect questions about reducing the attack surface of a host or service and removing stored credentials with managed identities.
Secure compute is 24% of the SC-500 exam. The exam runs 120 minutes and Microsoft publishes no fixed question count, so this question is a slice of the real mix, not a prediction of your result.
Try these next
Each one is a free question from the same practice test, with the answer and the reason for every option on its own page.
- Containers in a registry should be scanned for known vulnerabilities so that risky images are flagged before deployment. Which Microsoft solution provides this?
- An application that calls an Azure AI service stores the service key in a configuration file. What is the best way to improve this?
- An Azure web app must read a secret from Azure Key Vault without any password or key stored in its configuration. What is the best approach?
- Administrators need elevated Entra roles only for short periods and with an approval and a justification recorded. Which feature provides this?
Keep going
This is question 9 of 15 in the free SC-500 practice test. If you missed it, say why in one sentence before you read on: the reason is what transfers to a differently worded question.