All Microsoft exams
Free SC-500 practice test: 30 questions with answers
30 original questions for Implementing End-to-End Security Controls for Cloud and AI Workloads, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 100 questions
All 30 SC-500 questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
Security operations (6 questions)
Question 1
A security operations team wants to correlate sign-in logs, endpoint alerts and cloud activity in one place, with analytics rules that create incidents. Which service fits?
- AAzure Cost Management
- BAzure DevOps Boards
- CAzure Blob Storage lifecycle policies
- DMicrosoft Sentinel
Show answer and explanationHide answer
Correct answer: DMicrosoft Sentinel is a cloud SIEM that collects logs from many sources, runs analytics rules, and creates incidents for investigation. Cost management, storage lifecycle policies and work-tracking boards do not provide security correlation.
Question 2
A Sentinel analytics rule should raise an incident when a single account fails to sign in more than 20 times in ten minutes from different countries. Which component is used to express this logic?
- AA workbook with a colour-coded chart of sign-in counts
- BA scheduled analytics rule with a KQL query and a threshold
- CA playbook that runs without a query or threshold
- DA watchlist of user names and their account identifiers
Show answer and explanationHide answer
Correct answer: BA scheduled analytics rule uses a KQL query with thresholds to detect the pattern and create incidents. Workbooks visualize data, playbooks respond to incidents, and watchlists store reference lists rather than detection logic.
Question 3
After an incident is created, the security team wants an automated action to disable a compromised account and send a notification to the on-call channel. Which Sentinel capability implements this?
- AA playbook built on Azure Logic Apps triggered by the incident
- BA manual step in a shared spreadsheet that analysts update
- CA retention policy that deletes the account after a day
- DA workbook refresh scheduled every hour in the portal
Show answer and explanationHide answer
Correct answer: ASentinel playbooks run Logic Apps workflows triggered by incidents or alerts, which can disable accounts and send notifications. Spreadsheets, workbook refreshes and retention policies do not perform response actions.
Question 4
A defender team wants to detect threats on virtual machines and AI workloads, and to receive security recommendations across subscriptions. Which Microsoft Defender offering provides this?
- AMicrosoft Defender for Office 365 only
- BMicrosoft Purview eDiscovery
- CAzure Policy with no alerts
- DMicrosoft Defender for Cloud
Show answer and explanationHide answer
Correct answer: DDefender for Cloud provides threat protection, security posture recommendations and workload protections across subscriptions, including AI workloads. Defender for Office 365 covers email and collaboration, eDiscovery is for legal review, and Azure Policy enforces configuration without alerting on threats.
Question 5
A security analyst must hunt across the environment for a suspicious process that appeared on several endpoints. Which tool allows advanced queries across endpoint telemetry?
- AThe Azure Cost Analysis page for subscriptions
- BThe Teams call quality report for meeting attendees in Europe
- CThe SharePoint site creation log for the tenant, filtered by owner
- DAdvanced hunting in Microsoft Defender XDR using KQL
Show answer and explanationHide answer
Correct answer: DAdvanced hunting in Defender XDR runs KQL queries across endpoint, identity and email telemetry to find related activity. The cost, call quality and site logs do not provide threat hunting data.
Question 6
Which two sources should a Sentinel deployment collect to investigate an attack against an AI application? (Choose two.)
- AThe text of the company's holiday calendar
- BSign-in logs from Microsoft Entra ID
- CThe number of coffee machines in the office
- DDiagnostic logs from the AI service and its network activity
- EThe marketing team's slide deck
Show answer and explanationHide answer
Correct answer: B, DIdentity sign-in logs and the AI service's diagnostic and network logs show who accessed the service and how. Calendars, office equipment and marketing material have no investigative value for this attack.
Identity and access (6 questions)
Question 7
An Azure AI application runs on an App Service and must read secrets from Key Vault without storing any credentials in code or configuration. Which approach is recommended?
- AEnable a managed identity on the app and grant it a Key Vault data-plane role such as Key Vault Secrets User
- BStore the Key Vault client secret in the app settings of the App Service so the SDK can read it at startup and rotate it manually
- CEmbed a shared access signature token with a long expiry directly in the application source code
- DGive the app the Owner role at subscription scope so it can manage every resource group and assign roles to other identities
Show answer and explanationHide answer
Correct answer: AA managed identity with a narrow Key Vault data-plane role lets the app authenticate without any stored credential. Client secrets, embedded tokens and subscription-wide Owner rights each create credentials or privileges that are unnecessary.
Question 8
A security team needs to require phishing-resistant authentication for administrators who access an AI model management portal, and to block sign-ins from unmanaged devices. Which control provides this?
- AA shared administrator account protected by a complex password that is rotated every year
- BA monthly manual review of the sign-in logs in the Entra admin center by IT staff
- CA Conditional Access policy with an authentication strength requirement and a device compliance grant
- DA firewall rule that permits the office public IP range without requiring an identity check
Show answer and explanationHide answer
Correct answer: CConditional Access can require phishing-resistant authentication strength and a compliant device before granting access. Shared accounts, IP rules alone and periodic log reviews do not enforce identity and device requirements at sign-in.
Question 9
Engineers need temporary elevated access to a production AI workspace only during an incident, and all activations must be time-limited and approved. Which Microsoft Entra capability is designed for this?
- APrivileged Identity Management with eligible role assignments and approval
- BA shared break-glass password stored in plain text inside an operations runbook document
- CPermanent Global Administrator role assigned to each engineer on the AI platform team
- DAnonymous guest access to the production AI workspace during incidents
Show answer and explanationHide answer
Correct answer: APIM provides just-in-time, time-bound role activation with approval and audit, which limits standing privilege. Permanent roles, shared passwords and anonymous access violate the requirement.
Question 10
Which two controls reduce the risk of a compromised service principal being used to access AI resources? (Choose two.)
- AGrant the service principal Owner on every subscription for flexibility
- BShare the service principal's secret in a team wiki
- CRestrict the service principal's role assignments to the specific resources it needs
- DDisable sign-in logging for service principals
- EUse certificate or federated credentials instead of long-lived client secrets where possible
Show answer and explanationHide answer
Correct answer: C, ECertificate or federated credentials avoid long-lived secrets, and narrow role assignments limit what a stolen identity can reach. Owner rights, wiki-shared secrets and disabled logging all increase exposure.
Question 11
A company wants users of its AI portal to sign in once and access several apps, with conditional policies applied to each sign-in. Which identity capability should be used?
- AA separate password for each app, kept in a local password manager vault
- BAnonymous access with a per-IP rate limit at the API gateway and no sign-in
- CSingle sign-on with Microsoft Entra ID and Conditional Access
- DSharing one account among several staff, with the password written in a note
Show answer and explanationHide answer
Correct answer: CSingle sign-on through Entra ID lets users sign in once for several apps, and Conditional Access applies policies to each sign-in. Separate passwords, anonymous access and shared accounts reduce control and accountability.
Question 12
An AI application is registered in Entra ID and calls a downstream API for signed-in users. The application must not store user passwords, and each token should be limited to the required API permissions. Which flow is appropriate?
- AResource owner password grant flow, with the user's password stored in the app configuration for token renewal
- BSharing a long-lived API key with the user group, set to expire in ten years for ease
- CDisabling authentication on the downstream API so that the app can call it without a token, relying on the network edge
- DOAuth 2.0 authorization code flow with PKCE for user sign-in, and scoped permissions on the API
Show answer and explanationHide answer
Correct answer: DThe authorization code flow with PKCE avoids handling user passwords in the application and issues tokens scoped to the required permissions. Password grants, shared keys and disabled authentication each fail the requirement.
Network and workload security (6 questions)
Question 13
An AI inference endpoint must be reachable only from the company's virtual network, with no public internet exposure. Which configuration implements this?
- APrivate endpoint for the service in the virtual network, with public network access disabled
- BA public endpoint secured by a secret URL path with authentication left disabled
- CA VPN client configured on each developer laptop to reach the public endpoint with split tunneling enabled
- DA public endpoint with an allow list of every employee's home IP address that is maintained manually
Show answer and explanationHide answer
Correct answer: AA private endpoint gives the service a private address inside the virtual network, and disabling public access prevents internet exposure. Home IP lists are fragile, secret URLs are not a control, and laptop VPNs do not restrict the service itself.
Question 14
A web application that fronts an AI model must be protected from common web attacks such as SQL injection and cross-site scripting, with managed rules maintained by the provider. Which service should be placed in front of it?
- AA public IP with no inspection
- BA network security group with only inbound port 443 allowed
- CAzure DNS with a longer TTL
- DAzure Web Application Firewall with managed rule sets
Show answer and explanationHide answer
Correct answer: DAzure Web Application Firewall inspects HTTP traffic and applies managed rules against common web attacks such as SQL injection and cross-site scripting. Port filtering in a network security group does not inspect application payloads, and DNS settings and bare public IPs provide no inspection.
Question 15
An Azure Kubernetes cluster runs containers that call an AI model. The security team wants pods to communicate only with the services they need. Which control enforces this east-west restriction?
- AKubernetes network policies to restrict pod-to-pod traffic
- BA single flat network segment with no network policy applied to pods
- COpening every port between the node subnets and AI service subnets
- DDisabling the cluster's diagnostic and audit logging
Show answer and explanationHide answer
Correct answer: ANetwork policies restrict which pods can communicate with which others, limiting lateral movement inside the cluster. A flat network, open ports and disabled logging each widen the exposure.
Question 16
A container image used for an AI service is pulled from a registry and must be scanned for known vulnerabilities before deployment. Which capability supports this?
- AChecking the image's file size, layer count and base tag during the build step
- BTrusting the image without a scan because it is pulled from the company registry
- CContainer image vulnerability scanning integrated with the registry and the deployment pipeline
- DRunning the image as root user to avoid file permission problems in the cluster
Show answer and explanationHide answer
Correct answer: CVulnerability scanning of container images, integrated with the registry and pipeline, detects known issues before deployment. File size, trust alone and running as root do not assess vulnerabilities and increase risk.
Question 17
A company wants a managed firewall that filters traffic between its virtual networks and the internet, with threat intelligence and central rule management. Which service fits?
- AAzure Automation
- BAzure Cosmos DB
- CAzure Firewall
- DAzure Monitor workbooks
Show answer and explanationHide answer
Correct answer: CAzure Firewall is a managed network firewall with central rules and threat intelligence for traffic between networks and to the internet. The other services are a database, an automation platform and a visualization tool.
Question 18
An AI workload in Azure must reach a database without traversing the public internet, and the database must not accept connections from outside the virtual network. Which combination meets this?
- APrivate endpoint for the database and private DNS resolution within the virtual network
- BA public endpoint with a firewall rule covering 0.0.0.0 to 255.255.255.255
- CA public IP on the database with no firewall, listening on TCP port 1433
- DA VPN tunnel to each developer's home computer, with split tunnelling and no conditional access checks
Show answer and explanationHide answer
Correct answer: AA private endpoint with private DNS keeps traffic on the private network and removes public exposure. An all-addresses firewall rule, a public IP without a firewall and personal VPNs do not meet the requirement.
Data and AI protection (6 questions)
Question 19
A company wants to discover where sensitive data is stored in its AI workloads and understand which AI interactions expose it. Which Microsoft Purview capability provides this?
- AExchange mailbox quotas and archive settings
- BData Security Posture Management for AI
- CAzure Advisor cost recommendations for disks
- DTeams meeting attendance reports by org unit
Show answer and explanationHide answer
Correct answer: BDSPM for AI in Microsoft Purview identifies sensitive data and shows how AI interactions use it, which supports risk reduction. Mailbox quotas, cost recommendations and attendance reports do not assess data exposure in AI.
Question 20
Sensitive documents used by an AI assistant must remain protected even after they are downloaded outside the company. Which protection should be applied to the documents?
- AA public link that expires after a year for guests
- BA file name that starts with confidential
- CSensitivity labels with encryption and usage rights
- DA copy saved in a personal OneDrive folder
Show answer and explanationHide answer
Correct answer: CSensitivity labels with encryption and usage rights travel with the file and restrict what recipients can do, even outside the company. Public links, file names and personal copies do not provide persistent protection.
Question 21
An AI application stores customer data in a database, and the company must encrypt the data with keys it controls and rotate them on its own schedule. Which configuration meets this need?
- APlatform-managed keys with no customer control over rotation schedules
- BCustomer-managed keys stored in Azure Key Vault or Managed HSM, with rotation policies
- CKeys written into the application configuration file in plain text
- DKeys stored in an email to the security team and forwarded to external vendors for a quarterly review
Show answer and explanationHide answer
Correct answer: BCustomer-managed keys in Key Vault or Managed HSM give the company control over key lifecycle and rotation. Platform-managed keys offer less control, and plain-text or emailed keys are insecure.
Question 22
A team wants alerts when a database is probed with SQL injection patterns or accessed suspiciously. Which Defender capability provides these alerts?
- AMicrosoft Defender for SQL threat detection
- BAn antivirus extension on a virtual machine
- CA DNS zone lock
- DAzure Advisor cost recommendations only
Show answer and explanationHide answer
Correct answer: ADefender for SQL threat detection raises alerts for suspicious activity, including SQL injection patterns and unusual access. Cost recommendations, antivirus extensions and DNS locks do not detect database threats.
Question 23
Which two steps help protect training data used for an AI model? (Choose two.)
- ACopy the data to a public storage container for reproducibility
- BRemove logging from the storage account to save cost
- CEncrypt the data at rest with keys that the company manages
- DEmail the data to each data scientist as attachments
- ERestrict access to the storage using least privilege and private networking
Show answer and explanationHide answer
Correct answer: C, ELeast-privilege access with private networking limits who and what can reach the data, and customer-managed encryption protects it at rest. Public containers, removed logs and emailed attachments all expose the data.
Question 24
An AI assistant retrieves documents from a SharePoint library. Some documents carry a sensitivity label that forbids external sharing. The company wants the assistant to honour those labels. Which control should be in place?
- AA label that is removed during retrieval by the assistant
- BSensitivity labels with usage rights that the AI experience respects
- CAllowing the assistant to bypass labels for performance gains
- DA public sharing link to the library for guests without sign-in
Show answer and explanationHide answer
Correct answer: BSensitivity labels and their usage rights are enforced by the services that process the content, including AI experiences that respect them. Removing labels, bypassing them and public links all defeat the protection.
Governance and compliance (6 questions)
Question 25
A compliance team needs a dashboard of how well Azure resources meet a regulatory benchmark, with the ability to assign remediation tasks. Which feature provides this?
- AAzure Cost Management budget page for each subscription with forecast alerts
- BA spreadsheet of resource names and owners exported monthly
- CRegulatory compliance dashboard in Microsoft Defender for Cloud
- DThe Azure portal home page with recent activity and service health status
Show answer and explanationHide answer
Correct answer: CThe regulatory compliance dashboard in Defender for Cloud maps resources to benchmarks and shows gaps with recommended actions. Budget pages, spreadsheets and the home page do not assess compliance against regulatory standards.
Question 26
A policy must ensure that every new storage account in a subscription uses private endpoints and the minimum TLS version of 1.2. Which Azure feature enforces this at deployment time?
- AA monthly email reminder to developers about the storage account standard
- BA Word document of guidelines for storage accounts and TLS policy draft
- CA tag named secure on each storage account with the value set to true
- DAzure Policy with a deny effect for non-compliant configurations
Show answer and explanationHide answer
Correct answer: DAzure Policy with a deny effect blocks deployments that do not meet the rules, which enforces the standard at creation time. Documents, tags and reminder emails do not prevent non-compliant deployments.
Question 27
A security architect needs to group subscriptions under one management hierarchy so that policies and role assignments apply across all of them. Which structure should be used?
- AResource tags on each resource
- BManagement groups
- CSeparate Entra tenants for every subscription
- DResource locks on every resource group
Show answer and explanationHide answer
Correct answer: BManagement groups organize subscriptions into a hierarchy where policies and role assignments are inherited. Tags are metadata, separate tenants add complexity without inheritance, and resource locks prevent deletion or change rather than organizing policy.
Question 28
A critical resource group must be protected from accidental deletion, even by users who have delete permissions. Which control provides this?
- AA budget alert for monthly spend
- BA delete resource lock on the resource group
- CA tag named keep on the resource group
- DA diagnostic setting that exports logs
Show answer and explanationHide answer
Correct answer: BA delete lock blocks deletion of the resource group until the lock is removed, even for users with delete rights. Tags are descriptive, budgets report spend, and diagnostic settings record logs.
Question 29
A regulator asks the company to show that its AI workload configurations have been reviewed against an agreed standard, with evidence of each check. Which capability provides this evidence?
- AA printed and signed copy of the internal AI governance policy document filed in a binder
- BAn email thread between compliance and engineering about the standard and its scope
- CThe Azure Advisor score for the subscription, which ignores policy compliance and identity
- DCompliance assessments with recorded control status and evidence in Microsoft Purview Compliance Manager
Show answer and explanationHide answer
Correct answer: DCompliance Manager assessments record control status and evidence against a standard, which supports audit responses. A printed policy, an email thread and an advisor score do not record control-level evidence.
Question 30
A company must keep records of AI-generated outputs for seven years for legal reasons, and the records must not be deleted before the retention period ends. Which feature provides the enforcement?
- ARetention policies with a seven-year period, and immutable storage where required
- BA metadata tag stating the seven-year period in the file's property bag
- CA calendar reminder to back up the files to secondary storage monthly
- DDeleting files after one year to save space in the archive, before the seven-year period ends
Show answer and explanationHide answer
Correct answer: ARetention policies enforce the period, and immutable storage prevents deletion before it ends where legal rules require it. Tags are descriptive, reminders do not enforce retention, and early deletion violates the requirement.
Want more SC-500 questions?
The full bank has 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
Both formats together. The best value.
Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.