Microsoft SC-500 Practice Test 18
Question 170
A maintenance engineer has approval to use RDP on one production VM for a thirty-minute window from a known corporate IP. Which request best follows a JIT policy?
- Open RDP for every VM and allow 0.0.0.0/0 until the change is complete
- Submit the JIT access request for the selected VM, approved source IP, port and time window
- Permanently add the engineer’s account as subscription Owner
- Disable the VM network security group for thirty minutes
Explanation
Correct Answer
B:With JIT enabled for the supported resource, request the specific management port from the authorized corporate IP for only the allowed interval. Confirm the system applies the temporary network access and closes it after expiry. Record the maintenance activity and investigate any mismatched source address.
Incorrect Answers
A:Opening management access for every VM from every address would vastly exceed the maintenance authorization. An attacker could exploit a different host during the window. Keep target, source and duration narrow.
C:Subscription Owner is a broad and enduring management role unrelated to the requested packet path. It does not provide the least-privilege temporary network allow required by the scenario. Use assigned administrative identity plus JIT access.
D:Disabling the NSG removes many unrelated protections and may expose additional services. A JIT opening should modify only the relevant permitted management flow under documented constraints. Confirm the rule expires.
Question 171
A JIT VM access request expired, but an engineer believes RDP remains reachable due to a leftover rule. Another person suggests opening TCP 3389 broadly for testing. What should the team do?
- Use effective network security rules and connection diagnostics to confirm the actual expired request state before making targeted corrections
- Add a permanent allow from all Internet addresses because expired rules are harmless
- Assume the portal’s historic request record proves the current network state
- Delete the VM to guarantee its management port closes
Explanation
Correct Answer
A:JIT status records and effective network behavior should be reconciled. Inspect current NSG or supported firewall rules, target port, source match and any overlapping higher-priority rules; test from an authorized address. Remove or correct unintended permits only after identifying which control is responsible. Record the observed flow.
Incorrect Answers
B:An Internet-wide RDP rule would create a much larger vulnerability than the alleged stale access. It defeats JIT’s purpose and should not be used as a troubleshooting shortcut. Diagnose effective rules with a controlled test.
C:A request history shows what was asked or approved, not necessarily which NSG or firewall rule currently controls the packet. Configuration drift or overlapping rules could change the actual outcome. Validate the effective network state.
D:Deleting a running VM could cause outage and data loss and is disproportionate to troubleshooting a port rule. Target the access-control configuration instead, with appropriate rollback and change records. Avoid destructive work.
Question 172
A team promises to enable JIT access for hundreds of Azure VMs without checking licensing, network interfaces or management-port configuration. Which preflight is necessary?
- Enable JIT broadly based on the current Azure VM inventory count without checking which VMs or network controls support it
- Enable RDP for all VMs permanently as a warm-up
- Assume the JIT feature controls every network appliance in every cloud automatically
- Confirm relevant Defender for Cloud plan support, eligible VM resources and required NSG or firewall configuration before rollout
Explanation
Correct Answer
D:Inventory eligible VMs, plan entitlement, required NSGs or Azure Firewall integrations, management ports, source restrictions and operator permission workflows. Test on representative hosts before expanding. Verify both access during an approved request and closure after expiry. Confirm source IP restrictions and capture test evidence for audit.
Incorrect Answers
A:A total VM count does not establish that each instance meets JIT prerequisites. Validate the Defender plan, supported resource type, management port configuration and effective NSG or firewall policy before activating time-limited access. Otherwise the rollout may omit assets or create ineffective rules while reporting apparent enrollment.
B:Permanently opening management ports before planning a temporary access solution increases exposure and contradicts JIT’s purpose. Provision approved prerequisites without weakening the existing default deny. Test the restricted baseline first.
C:JIT support depends on resource type, plan and compatible network controls. It is not a universal policy controller for any arbitrary cloud appliance. An unsupported promise could leave important VMs unprotected.
Question 173
An organization wants Azure inventory, machine onboarding and security policy visibility for physical Linux servers hosted at its own data center. Which integration should it configure?
- Deploy Azure Arc-enabled Servers using a narrowly authorized onboarding identity and verify the connected-machine agent
- Assign each physical server an Azure public IP as a substitute for onboarding
- Install only a local browser extension to display Azure resource names
- Move every physical disk to Azure Storage before the server can be inventoried
Explanation
Correct Answer
A:Azure Arc-enabled Servers lets supported on-premises and other-cloud machines appear as Azure-managed resources through a connected-machine agent. Use scoped onboarding credentials, govern registration by subscription/resource group and confirm connectivity, policy assignment and telemetry. Arc does not automatically turn the underlying computer into an Azure VM.
Incorrect Answers
B:Public IP addresses do not register a machine with the Azure control plane or apply Azure policy. Exposing management ports could increase risk without enabling the required inventory integration. Validate the registration.
C:A browser extension affects an administrator’s workstation, not the server’s agent identity or cloud resource record. It cannot produce ongoing connected-machine inventory and policy assessment without proper onboarding. The target host also requires supported Arc connection and registration.
D:Arc can connect eligible existing servers without migrating their disks to Azure Storage. Requiring disk migration would change the workload architecture unnecessarily. The task concerns management-plane integration rather than moving compute.
Question 174
Azure Policy assignments select Arc-connected servers by production environment tags. Several newly onboarded Linux hosts have inconsistent tags and are excluded from the expected assessment scope. What should operations fix?
- Rely on each local application’s hostname to override every policy assignment
- Standardize the Azure Arc resource tags and validate assignment targeting without assuming Azure rewrites guest application configuration automatically
- Disable tag-based governance for every subscription
- Convert the servers into virtual machines so the policy engine can see them
Explanation
Correct Answer
B:Arc presents connected machines as resources with Azure metadata, which can be used by assignments and governance automation. Standardize required environment tags during onboarding and verify policy applicability. A tag or policy record does not by itself mean the service may arbitrarily reconfigure every local application inside the guest.
Incorrect Answers
A:Hostnames may support inventory but do not automatically satisfy policy selectors based on Azure resource tags. The mismatch concerns the resource metadata used for assignment. Correct that metadata and reevaluate policy coverage.
C:Removing tag-based governance for the entire estate would lose intentional segmentation and could broaden the reach of controls unnecessarily. Fix the affected resource metadata and onboarding checks instead. Preserve the production scope.
D:Physical Linux servers can be managed through Azure Arc without converting them to Azure VMs. Rehosting is a major architecture decision unrelated to making policy tags consistent. Retain on-premises ownership.
Question 175
An Arc-connected server has not reported inventory or security posture for two days because of an intermittent outbound network link. A manager wants to mark it compliant since no new alerts appeared. What should be done?
- Assume missing telemetry proves there were no vulnerabilities
- Delete the server from Azure inventory and keep no record
- Treat absent findings as evidence of a perfectly hardened host
- Investigate connected-machine agent health, last check-in and connectivity, and classify its security state as unknown until assessment resumes
Explanation
Correct Answer
D:Check Azure Connected Machine agent status, connectivity prerequisites, certificates/identity and last successful report. Restore telemetry, then run or await supported policy and vulnerability evaluations. Record the host as not currently assessed rather than falsely compliant while evidence is absent. Apply timely remediation once visibility returns.
Incorrect Answers
A:No reported vulnerability may simply reflect no new data. The endpoint could still have unpatched software while disconnected. A compliant classification requires current and appropriate assessment evidence. Corroborate host condition.
B:Deleting the resource would hide management gaps and reduce visibility into the affected machine. Retain the inventory and investigate connectivity using documented recovery processes. Escalate stale security reports to the service owner.
C:An apparently clean dashboard can be caused by telemetry loss, disabled sensors or a stale check-in. Security conclusions must account for data freshness. Missing visibility is not the same as zero risk.
Question 176
A VM patch job reports success, but Microsoft Defender Vulnerability Management still lists one critical package flaw on the machine. Which evidence should drive closure?
- Only the automation job’s final success status
- The VM owner’s statement that patches are normally installed promptly
- Verify actual installed versions, required restart state and fresh vulnerability assessment results before closing the finding
- A change of the VM display name to indicate patched
Explanation
Correct Answer
C:Compare the host’s package versions and remediation steps with the vulnerability advisory, verify any reboot or service restart needed, and obtain updated Defender findings. Investigate stale sensors or scan windows if the results conflict. Close or document an exception only when the actual vulnerability state is supported by evidence.
Incorrect Answers
A:Patch automation can complete successfully while a component remains vulnerable, a reboot is pending or the scanner has not refreshed. The job result is one piece of evidence but not proof that the vulnerable package is absent.
B:Administrator confidence or habitual patching practices do not establish the current software state. Review package inventory and the detector’s specific assessment details rather than accept an unsupported assertion. Check reboot requirements.
D:A display name does not modify installed software or refresh vulnerability detection. Label changes may make inventory harder to reconcile and cannot substitute for a verified remediation. Inspect the actual finding.
Question 177
Security engineers learn that a forgotten public web server may be associated with their company domain but is absent from Azure resource inventory. Which capability best helps discover it?
- Use Microsoft Defender External Attack Surface Management to enumerate exposed assets associated with the organization
- Search only Azure portal VM lists and declare all other hosts nonexistent
- Analyze the company’s private DNS zone without considering public asset discovery
- Use an employee survey as the only source of external hostname inventory
Explanation
Correct Answer
A:Defender External Attack Surface Management discovers internet-observable assets that may be related to an organization, including hosts outside the inventoried Azure subscriptions. Validate ownership of discovered domains and services and evaluate their exposure and vulnerabilities. Discovery is evidence for investigation, not automatic proof that every suggested asset is owned.
Incorrect Answers
B:Azure subscriptions contain only resources managed or represented through that estate. External infrastructure and unmanaged providers may be absent. A portal inventory is insufficient to discover the forgotten public host described.
C:Private DNS can contain useful internal names but may omit externally visible addresses, third-party hosting and unknown subdomains. External exposure discovery requires observation beyond the private zone. Validate certificate and DNS evidence.
D:Employees may remember known websites but cannot reliably enumerate abandoned or dynamically created public assets. Use technical discovery and corroborate findings with approved ownership records. Review exposed ports regularly and validate owners.
Question 178
After an acquisition, an unfamiliar HTTPS service appears under the acquired brand’s domain. Defender EASM lists it with outdated software. What must the security team verify before remediation?
- Assume the service is malicious because it was absent from earlier Azure inventory
- Validate the organization’s ownership or responsibility, actual exposed endpoint and vulnerability evidence before assigning remediation
- Delete the acquired domain immediately so no more discoveries are possible
- Suppress all findings for newly acquired companies during the first year
Explanation
Correct Answer
B:EASM provides externally observed candidates that should be correlated with acquisition records, DNS ownership, hosting and actual software exposure. Confirm who controls the service and whether the reported vulnerability remains present, then assign remediation to the responsible team. Avoid changing infrastructure that is not owned or authorized.
Incorrect Answers
A:An asset can be legitimate but unmanaged, or it may be unrelated infrastructure whose DNS relationship is misleading. Absence from Azure inventory does not prove maliciousness. Establish accountability and technical evidence before disruptive action.
C:Deleting a domain could disrupt customers and does not necessarily shut down an exposed service. It is disproportionate to an unverified discovery. Investigate ownership and risk first. Coordinate the change with responsible owners.
D:A blanket exclusion would conceal potentially exploitable forgotten assets during a high-risk integration period. Track ownership and triage findings instead of suppressing an entire acquired estate. Acquisition assets may contain inherited security debt.
Question 179
An external scan finds a publicly reachable API that company teams do not see in any Azure subscription. Which security conclusion is justified?
- The API cannot belong to the company because Azure did not list it
- Subscription inventory alone is incomplete for external attack-surface exposure; corroborate EASM evidence against owned domains and third-party hosting
- The API must be a false positive because it has no Azure resource ID
- No vulnerability matters until a public incident occurs
Explanation
Correct Answer
B:External attack-surface discovery can reveal public infrastructure unrelated to a monitored Azure subscription. Compare hostname, certificates, DNS, service responses and supplier records with known business ownership. If confirmed, evaluate exposure and put the service under appropriate inventory and protection governance. Maintain third-party asset records and remediation owners.
Incorrect Answers
A:A company can host services with other cloud providers, on premises or through vendors. Those assets may not appear in Azure resource lists. The scan should prompt ownership validation, not automatic exclusion.
C:An external service may not have an Azure resource identifier at all. Lack of one is not proof that the externally observed endpoint is imaginary. Validate the Internet-facing service using independent evidence.
D:Potential vulnerabilities can be investigated proactively before exploitation. Waiting for a confirmed incident creates unnecessary risk and defeats external attack-surface management’s purpose. Triage internet-reachable assets promptly using verified context. Confirm whether the unknown endpoint is owned, vulnerable and exposed before a real incident occurs.
Question 180
A company creates temporary subdomains for product campaigns, and new Internet-facing endpoints often remain online after launch. How can defenders reduce recurring exposure?
- Use one annual spreadsheet review as the sole discovery control
- Turn off all public DNS logs and assume removed campaigns disappear automatically
- Monitor Defender EASM discovery changes over time and investigate newly observed or abandoned public assets
- Allow all traffic to every campaign endpoint so scanners can inventory them reliably
Explanation
Correct Answer
C:EASM can surface newly observed Internet-facing assets and changes in exposure. Compare discoveries to approved campaign inventories, validate responsible teams and investigate unexpected endpoints or vulnerabilities. Integrate findings into decommissioning processes so finished campaigns actually lose public access. Include offboarding verification and documented asset ownership.
Incorrect Answers
A:Yearly review leaves long periods when exposed test services or expired certificates could go unnoticed. Asset creation is frequent and dynamic. Continuous or regularly scheduled observation is better suited to the reported change rate.
B:DNS changes do not always remove underlying hosting or access endpoints, and disabling logs reduces evidence. A campaign hostname might still resolve or its origin server remain exposed. Investigate active services and ownership.
D:Opening all ports would expand the attack surface and could make compromise easier. Discovery tools do not require broad production service exposure as a security policy. Restrict services to intended ports and owners.