Microsoft SC-500 Practice Test 25
Question 240
The Global Secure Access client connects, but a private app FQDN resolves incorrectly and never reaches its connector. Which configuration should be examined?
- The end user's screen resolution and browser zoom.
- The number of Microsoft Sentinel workbooks available to the user.
- The defined private-app FQDN/segment, client traffic forwarding and private-side DNS resolution.
- The Azure Key Vault certificate rotation policy for unrelated application secrets.
Explanation
Correct Answer
C:Check that the requested host matches a published application definition and that the client and connector follow supported DNS and traffic handling. Verify the connector can resolve and reach the server privately, then test user access. Correct name matching instead of broadening permissions or exposing a public endpoint. Compare the entered hostname with configured app segments, including wildcards and supported port definitions, before changing grants.
Incorrect Answers
A:Visual display settings do not determine how private application names resolve or which app segment is intercepted. Investigate FQDN definitions and DNS handling. Screen resolution only changes local display and cannot influence the client traffic forwarding policy for a specific FQDN.
B:Sentinel reporting content is unrelated to the traffic-forwarding definition for a private TCP application. A workbook count cannot explain the DNS failure. Sentinel reporting content has no role in resolving a private application hostname from the connector or client.
D:A disconnected vault rotation setting has no demonstrated link to this hostname resolution failure. Use the access service's client, connector and DNS evidence first. An unrelated certificate renewal policy cannot fix a private application name that the client fails to match.
Question 241
A private HR application must be accessible only from compliant employee devices. How should the team enforce this in an Entra Private Access deployment?
- Use applicable Entra Conditional Access device compliance and authentication requirements for the private application.
- Add a checkbox to the application's homepage asking users whether their device is compliant.
- Allow all devices through the connector because the private server has no public IP.
- Require only that users know the private FQDN, treating it as a shared access secret.
Explanation
Correct Answer
A:Define the intended protected app and scope policy to the authorized users and supported client flow. Require a verified compliant device and any appropriate authentication strength, and test from both a managed and unmanaged endpoint. Keep the backend's own user authorization because device posture supplements rather than replaces role-based access. Validate both an authorized compliant endpoint and an unmanaged test device using the same legitimate user identity.
Incorrect Answers
B:Self-attestation in an editable web form does not prove endpoint state. The access policy must consume trusted device and identity signals before granting private connectivity. A user checking a box is self-reporting, not a trusted compliance signal from the organization's device platform.
C:A private address reduces internet exposure but does not ensure that a compromised or unmanaged client should reach the application. Device checks still need to be enforced. Private network delivery is valuable but still allows compromised internal devices unless identity and device policies apply.
D:Hostnames are routinely discoverable or shareable and are not authentication credentials. Enforce managed device and verified identity policy explicitly. Knowing a hostname provides neither proof of device enrollment nor verification of the user's current access rights.
Question 242
An organization is replacing an unrestricted full-tunnel VPN with per-application private access. Which migration design limits lateral movement?
- Publish the entire RFC1918 range as one private application segment for all employees.
- Keep the old VPN and automatically copy its broad route list to every new Private Access policy.
- Disable application authentication because the Private Access client is already running.
- Publish only approved private-app address and port segments, assign identity-based access and verify denied destinations.
Explanation
Correct Answer
D:Inventory the legitimate applications, define narrow network and FQDN segments, and map them to authorized Entra users or groups. Preserve backend authorization and device safeguards. Test both successful business functions and prevented lateral connections so the migration actually reduces reachable attack surface instead of renaming a full VPN. Check the new access groups, source devices and narrowly defined destinations after removing the legacy full-tunnel route.
Incorrect Answers
A:A huge network segment recreates broad VPN reachability and undermines the intended application-level Zero Trust boundary. Different users should reach only the services their roles require. Broad RFC1918 segments can allow discovery of internal services never approved for remote or third-party use.
B:Migrating all legacy routes without review preserves unnecessary connectivity. The new policy should define explicit app segments and identity entitlements instead. Migrating old VPN routes unchanged preserves accidental privilege rather than achieving application-scoped access.
C:Connectivity controls are not a replacement for backend authorization. Compromised sessions or misassigned roles could still abuse application functions without independent app controls. Backend permission checks are needed because access to a private network endpoint does not grant all application operations.
Question 243
A private application depends on one connector host, and users lose connectivity whenever that host restarts. What should the design provide?
- Increase one connector host's disk space and assume it becomes highly available.
- Deploy multiple supported connectors in an appropriate group and test failover from a private client.
- Disable the connector service during office hours to encourage client reconnection.
- Give users direct public access whenever the connector is unavailable.
Explanation
Correct Answer
B:Redundant connectors reduce a single-host dependency when placement, reachability and group configuration are correct. Validate service health, networking, access control and distribution under a controlled connector failure. Ensure each connector can reach the private application and any required DNS services rather than assuming installation alone equals resilience. Run an actual failover exercise and check connector placement across relevant failure domains and DNS dependencies.
Incorrect Answers
A:Storage capacity does not provide an alternate network path during reboot or failure. The service needs a redundant supported connector deployment and validated routing. A larger disk cannot keep connector traffic alive if the only host is unavailable or its service restarts.
C:Intentionally stopping the only connector causes outages and does not create a usable alternate path. Plan redundancy and confirm recovery before removing the existing host. Deliberately disabling the one available connector breaks every app session instead of establishing a healthy redundant path.
D:A public bypass violates the private-only requirement and can expose the application without its intended identity controls. Maintain private connector redundancy instead. A public fallback would change the trust model and could bypass endpoint inspection and private access enforcement.
Question 244
An application on an Azure VNet must read Blob Storage only through an approved private network path. Which endpoint and DNS configuration is suitable?
- Allow the entire internet through the storage account firewall and rely on a long storage account name.
- Deploy a private endpoint for the file subresource while the client accesses blob URLs.
- Create a Blob subresource private endpoint and configure appropriate privatelink Blob DNS resolution for the clients.
- Change the blob service's HTTPS port to 8080 instead of using a private endpoint.
Explanation
Correct Answer
C:Connect the storage account's blob service to an approved VNet private endpoint, ensure the client resolves the normal blob hostname to the private address, and restrict public network access as required. Test actual blob reads from permitted and denied networks. The storage identity and authorization checks remain necessary alongside network isolation. Verify DNS and operations from both an approved subnet and an internet client that must receive a connection denial.
Incorrect Answers
A:A unique name does not restrict network reachability. The design explicitly requires a private path and should not admit arbitrary internet clients. Network exposure must be disabled through supported storage settings rather than relying on an account name's obscurity.
B:Different Storage subresources can use distinct private endpoints and DNS names. A file endpoint alone does not ensure blob requests resolve to the correct private address. Blob and File use different service hostnames; a matching endpoint group ID is needed for private resolution.
D:A port change does not create a private address or valid Storage service endpoint. It could break supported requests while leaving the network access requirement unsatisfied. Changing port numbers does not supply the documented Azure Storage protocol contract or an approved private IP.
Question 245
A new Azure SQL private endpoint exists, but the app resolves its SQL server name to a public address. Its SQL authentication is healthy. What should be fixed first?
- Verify private DNS zone records, VNet links and any custom DNS forwarders used by the app.
- Grant the app's identity SQL server administrator to override the public route.
- Remove the private endpoint and allow all Azure public IP ranges.
- Disable SQL auditing until the endpoint returns the right address.
Explanation
Correct Answer
A:Private endpoints rely on correct name resolution from the actual client network. Check the applicable privatelink database DNS record and path through custom resolvers or peered VNets. After resolving to the private address, verify network reachability and public access restrictions. Replacing working database credentials would not correct a public DNS answer. Use the SQL hostname expected by the application; hardcoded private IPs are fragile and can break service-supported routing.
Incorrect Answers
B:Database authorization cannot change which IP address a DNS name resolves to. Excessive administrator privilege increases risk and does not enforce private connectivity. Management RBAC cannot repair an incorrect database hostname resolution even if the principal becomes administrator.
C:That abandons the private-only security objective and potentially exposes the database. Correct DNS and routing within the intended private architecture instead. Broad public network access would hide the DNS problem and violate private-only data handling expectations.
D:Auditing records database activity and does not control DNS answers. Turning it off would reduce investigative evidence without fixing connection routing. SQL audit remains necessary to trace data activity while administrators change the client-side resolver configuration.
Question 246
A storage account supports multiple regional service paths. A team enabled a private endpoint for one subresource but another regional data endpoint still resolves publicly. What should it verify?
- Only the storage account's display name, because every endpoint shares one private address automatically.
- That all clients use an identical hardcoded public IP to avoid DNS complexity.
- Whether all storage account keys have identical creation dates.
- The required private endpoint subresources and DNS records for each actual client and regional service path.
Explanation
Correct Answer
D:Identify whether the application uses blob, file, queue or a supported secondary endpoint, and establish the matching approved private endpoint and DNS mapping. Validate from every client VNet or resolver location, then restrict public access as intended. Test read/write operations against the precise regional hostname rather than assume a primary endpoint covers all destinations. Test the failover hostname and service group ID explicitly; a green primary Blob endpoint alone is insufficient.
Incorrect Answers
A:Storage services and certain secondary endpoints have distinct subresource and DNS requirements. A private endpoint for one path does not necessarily secure every service or region. A storage account can expose multiple subresource hostnames, so verify the exact secondary or service URL being used.
B:Hardcoding a public address bypasses private DNS design, is fragile under service changes, and conflicts with the requirement to restrict approved network paths. An application pinned to a public address can bypass a properly configured private endpoint during regional failover.
C:Key rotation timing is a credential-governance issue and does not determine which Storage subresource or region a private endpoint serves. Key creation times do not determine whether a client's DNS answer points to its expected private endpoint.
Question 247
A private endpoint connection to a partner-owned PaaS resource is pending approval. The application owner suggests making the service public to finish testing. What is the secure next step?
- Approve the connection on the client's network interface without checking the destination resource owner.
- Have the PaaS resource owner review and approve the intended private endpoint connection, then test private access.
- Create a public firewall allow-all rule while leaving the pending endpoint in place.
- Grant the developer tenant-wide Global Administrator to force endpoint approval.
Explanation
Correct Answer
B:Confirm the requested resource and tenant, endpoint subresource and initiating network before approval. Once the target service accepts the connection, verify private DNS, routing and narrowly scoped user permissions. Do not bypass the manual trust control with internet-wide access solely to make the application test appear successful. Record the identity of the requesting partner and validate that the private connection matches the intended resource and scope.
Incorrect Answers
A:Approval belongs to the relevant private endpoint connection workflow and, where manual approval is required, the resource owner must authorize it. A client-side change alone cannot replace that trust decision. The provider's approved resource connection is the decisive trust step, rather than an arbitrary client-side NIC permission.
C:A pending private connection does not authorize public exposure. The internet rule creates an unintended alternate path and hides the original unapproved connection state. A temporary public exception can survive in configuration after testing and create a hidden permanent bypass.
D:Broad directory privilege is neither proportionate nor a substitute for the destination service's resource-level consent. Use the documented approval mechanism and verify its scope. Privilege escalation to tenant-wide administration cannot legitimately substitute for an approved resource-owner connection decision.
Question 248
After deploying a private endpoint, a web app still reaches the service's public endpoint name. Which check most directly proves private routing from the app?
- Check whether the private endpoint displays green in its resource overview only.
- Increase app service CPU so DNS responses arrive faster.
- Resolve the production service FQDN from the actual client and verify private address and reachable route.
- Change application credentials so authentication happens before DNS resolution.
Explanation
Correct Answer
C:The normal service hostname should resolve through the configured private-link DNS path to the approved private endpoint where supported. Test from the application's VNet integration or host environment, check custom resolvers and effective routes, then confirm public reachability is disabled when required. This validates the end-to-end path, not just endpoint creation. Resolve from the actual execution environment, since an engineer's laptop may use entirely different private DNS configuration.
Incorrect Answers
A:Resource health is necessary but cannot prove that a particular application's resolver selects its private address or that packets traverse the approved VNet. The resource may show healthy while this app's DNS resolver still chooses a public hostname or stale cached IP.
B:Compute sizing does not establish whether the name maps to a private or public IP. Resolve the actual hostname and inspect the route from the failing client first. Changing CPU capacity is irrelevant when a deterministic DNS record points to the wrong service address.
D:Clients must resolve and reach an endpoint before authenticating to it. Credential changes cannot redirect packets to an existing private endpoint or compensate for a DNS mapping error. Authentication occurs after the network destination is determined, so new credentials cannot redirect a public endpoint to private.
Question 249
Two peered Azure VNets share a PaaS private endpoint deployed in one of them. The second VNet can route to the address but its app resolves the service publicly. What should be reviewed?
- Only whether VNet peering exists, because peering automatically links every privatelink DNS zone.
- Whether the PaaS resource's name is short enough for DNS records.
- Whether the application user has subscription Owner rights in both VNets.
- Private DNS zone links or forwarding for both VNets, endpoint reachability and applicable network policies.
Explanation
Correct Answer
D:Confirm the remote client uses a resolver that knows the private-link zone and returns the endpoint's private address. Validate peering routes, firewall policy and supported private endpoint network rules, then test the service call. Do not make the PaaS service public merely because one peer lacks DNS integration. Check that the consumer VNet actually receives the private endpoint address and that replies follow an approved peered path.
Incorrect Answers
A:Peering permits certain network routing but does not automatically propagate private DNS zone links or resolver configuration. The remote client may still obtain a public answer. VNet peering routes IP packets but does not distribute private-link DNS records across every resolver automatically.
B:Hostname length within ordinary service limits does not explain why a peered VNet resolves to a public endpoint. DNS linking and forwarding are the relevant controls. A valid service name can still resolve publicly without the necessary zone links or custom DNS forwarding setup.
C:Management RBAC rights cannot change a VNet's DNS resolver path. The application needs the proper private DNS mapping and appropriate service data access, not extra subscription administration. A management role does not control the resolved service address and should not be expanded to troubleshoot DNS.
Question 250
A storage service has an approved private endpoint, but its public service endpoint is still reachable. Policy requires no public ingress. Which configuration completes the boundary?
- Disable public network access where supported while validating internal private endpoint and authentication paths.
- Leave public access enabled and rely on the private endpoint's resource name to discourage internet use.
- Assign the Resource Reader role to every public caller so they cannot modify the account.
- Hide the service's URL in a private repository but retain internet reachability.
Explanation
Correct Answer
A:Private endpoint creation alone may not shut off all public access. Explicitly restrict the service's public network path under the applicable feature, then test from approved private clients and an external network. Preserve necessary identity and data permissions so a private address does not become an unrestricted authorization bypass. Test public access from an external network after the change; successful private connections alone cannot prove public denial.
Incorrect Answers
B:Names do not prevent traffic from following a publicly accessible service endpoint. The requirement calls for enforced network isolation, not guidance to clients. An endpoint name may be guessed or learned from application metadata even if documentation is restricted to staff.
C:Management Reader is not a public network deny rule, and granting roles to arbitrary callers is unnecessary. Restrict public access through actual network settings. A Reader assignment cannot restrict the service listener; network controls and service authentication remain distinct.
D:Endpoint names can be found or inferred and are not secrets. Public access must be disabled or narrowly blocked in the supported resource configuration, independent of documentation secrecy. Private repositories limit who reads documentation, not whether a service listens on an internet-reachable address.