CompTIA SY0-701 Practice Test 15
Question 140
A hybrid workforce accesses on-premises systems with Active Directory and cloud apps with a separate directory. Security wants consistent termination and MFA controls across both environments. Which architecture helps?
- Disable federated login auditing to reduce log volume
- Duplicate unmanaged local passwords so each app works independently
- A coordinated hybrid identity/federation design with unified lifecycle and conditional access policies
- Open all internal administrative ports to cloud addresses
Explanation
Correct Answer
C:A carefully designed hybrid identity and federation architecture can share trusted identities or automate lifecycle synchronization while applying strong authentication and policy in each relevant environment. It must account for application capabilities, outages, conditional access and token/session revocation rather than assuming a single password solves everything. The intended benefit is consistent identity governance across cloud and on-premises services.
Incorrect Answers
A:Disabling federation auditing removes valuable sign-in and token-issuance evidence while doing nothing to harmonize employee terminations across the two identity systems. An unauthorized account could remain usable in an unmonitored cloud application. Cross-environment lifecycle controls require consistent identity provisioning, session termination and policy enforcement; reducing audit logs makes their operation harder to verify.
B:Unmanaged independent passwords create multiple revocation points and inconsistent authentication strength. A terminated employee might lose access in one directory while a separate application credential remains active. If accounts are not coordinated, the organization must chase each password and session manually, which conflicts with the stated objective of synchronized termination and MFA controls.
D:Exposing additional privileged ports between cloud and on-premises networks would widen the management attack surface, not coordinate user authorization. Direct connectivity alone does not ensure that a disabled on-premises account also loses its SaaS sessions. Identity lifecycle synchronization, controlled trust and conditional access are separate capabilities from opening network paths.
Question 141
A cloud application depends on a managed database whose backup images can be restored only inside the provider’s proprietary engine. Leadership needs an exit plan that can move data to another provider if the service contract changes. Which architecture practice most directly improves portability?
- Use documented vendor-neutral exports or interoperable data formats and regularly test restoring application data into an alternative database environment
- Create more snapshots in the original proprietary format and assume that all competitors can read them
- Increase the managed database instance size so migrations require fewer transactions
- Leave undocumented provider-specific schema extensions in place and postpone every export test until the contract ends
Explanation
Correct Answer
A:Portable schemas and documented export formats create a practical recovery path outside the original proprietary engine. The team should inventory unsupported database features, map conversion requirements and validate test imports and application behavior before depending on a migration or contract exit, including a documented checksum or record-count reconciliation.
Incorrect Answers
B:A snapshot that can only be decoded by the original managed engine may be useful for in-provider restoration but not for cross-provider migration. Keeping additional copies of the same unreadable format does not prove interoperability with a different product.
C:Provisioning larger capacity may improve throughput but does not change whether another database engine understands the backup representation, schema or extensions. Workload sizing is a performance consideration, whereas this question asks for verifiable portability across provider boundaries.
D:Provider-specific types, stored routines and integrations can make data export incomplete or application behavior incompatible at the destination. Waiting until an exit is urgent leaves little time to test mappings, dependencies and data integrity after conversion.
Question 142
An engineer submits a version-controlled infrastructure-as-code change modifying three firewall rules. Reviewers can inspect the proposed differences before application. What security advantage does this primarily provide?
- Change traceability and repeatable review of declared configuration differences
- A removal of the need to test the deployed firewall policy
- Guaranteed confidential storage of all keys within the source repository
- Automatic immunity to every possible routing misconfiguration
Explanation
Correct Answer
A:A versioned infrastructure-as-code proposal exposes intended firewall-rule additions, removals and scope changes before deployment. Reviewers can compare it with prior approved state, run policy checks and identify who authorized the difference. This improves repeatability and accountability, although actual deployed behavior must still be validated against network dependencies and observed traffic.
Incorrect Answers
B:A reviewed configuration diff is not proof that the deployed rule behaves as intended on production networks. Existing routes, overlapping rules and service dependencies can change the effective result. The team should test allowed and denied flows after application and preserve rollback criteria; code review reduces certain risks but cannot replace verification of live enforcement.
C:Version control does not automatically make repository contents confidential. Keys accidentally committed in configuration source may remain exposed to many readers and persist in history after deletion. Secrets should be stored in an approved secret-management service with controlled references, while code review checks that sensitive values are not embedded in IaC templates.
D:Even a carefully declared rule can contain the wrong address prefix, service port or dependency assumption. Source control records exactly what was proposed; it does not mathematically guarantee correct routing or authorized business behavior. Static linting, policy tests, staged deployment and rollback remain necessary because reproducible errors can still be deployed reproducibly.
Question 143
An operator fixes a critical firewall issue by editing the cloud console, but the infrastructure-as-code repository still contains the old desired state. Which TWO risks should be addressed? Choose TWO.
- Versioned configuration and live state have diverged and require reconciliation
- An unchanged repository prevents any future drift detection
- A later IaC deployment could overwrite the emergency console hotfix
- All customer data is guaranteed to be publicly readable immediately
- The console fix automatically updates every saved Git revision
Explanation
Correct Answers
A:The console edit has changed the running firewall policy but not the repository that describes desired state. Operators now have two conflicting representations, creating ambiguity for subsequent code reviews and compliance checks. Reconcile the emergency change through an approved commit or controlled import, document its justification and ensure that the declared policy reflects the live decision.
C:The next infrastructure-as-code apply may compute a difference from the repository's old value and restore that outdated rule, unintentionally undoing the emergency fix. A successful console change therefore cannot be treated as the final desired configuration. Merge the authorized hotfix into IaC and verify the resulting plan before another deployment is allowed to touch the firewall.
Incorrect Answers
B:An unchanged repository does not suppress drift detection; instead, a proper comparison may flag the difference between declared configuration and the live resource. The danger is failing to act on that signal or running automation that assumes the repository is authoritative. Detection and remediation are separate functions, and a repo remaining unchanged is not proof that drift is invisible.
D:A manual rule update does not demonstrate that customer data became public. Effective exposure depends on which source, destination, port and policy were changed, and the scenario does not say the edit permitted broad access. Overstating breach consequences would distract from the specific drift and overwriting risks; inspect actual connectivity and policy intent instead.
E:A console edit changes the running cloud resource, not every existing Git revision or a stored IaC file. No automatic source commit is specified, so future automation still sees the old desired state. Teams need explicit change reconciliation and versioned approval rather than assuming operational portals rewrite their configuration repositories.
Question 144
Developers deploy serverless functions. The cloud provider patches its managed execution runtime, but the deployed function bundles a vulnerable open-source HTTP library. Who must remediate that library?
- The provider's customer support team, because customers cannot modify function packages
- The business account that deploys and maintains the function's dependencies
- Only the ISP that connects developers to the Internet
- The physical datacenter security guard
Explanation
Correct Answer
B:The application owner selects and packages open-source dependencies, so it should update the affected library, test compatibility and publish a new function version or deployment. Managed infrastructure security does not automatically rewrite customer-supplied modules. The customer should also inventory dependency versions and monitor disclosures so the same vulnerable package is not reintroduced through the build pipeline.
Incorrect Answers
A:Provider support personnel do not normally own the customer's application artifact or its dependency manifest. Even if the serverless environment itself is patched, the packaged HTTP library still executes the version the customer deployed. Opening a support ticket might assist diagnosis, but the organization that controls the code must provide the fixed dependency and redeploy it.
C:An Internet service provider supplies network connectivity, not the software dependency used by a cloud function. The application vulnerability exists in a code package irrespective of which ISP the developers use to submit builds. Network filtering can be a temporary mitigation, but it does not transfer remediation responsibility to the connection provider.
D:A datacenter guard protects physical facilities and cannot edit or validate application dependencies bundled with serverless functions. Physical security is a provider-side responsibility and supports the underlying environment, whereas the vulnerable HTTP library is a customer-chosen software component. The patch must be evaluated and deployed by the responsible application team.
Question 145
An orders microservice presents an expired client workload certificate when contacting a billing service. The billing service correctly refuses mutual-TLS authentication, although its own server certificate remains trusted. What should be corrected?
- Disable peer-certificate checking permanently on both services because traffic remains inside the container network
- Renew and deploy the authorized client workload identity certificate and retain mutual certificate validation
- Distribute the billing server’s private TLS key to every orders replica so they can authenticate as the server
- Use plaintext HTTP for internal requests until the certificate administrator returns from leave
Explanation
Correct Answer
B:In mutual TLS, each participating peer validates the certificate presented by the other under its configured trust and time rules. The expired orders-client identity must be renewed or replaced through the approved workload PKI and deployed to the proper instances before reconnecting. Keep server validation and key custody intact, and confirm certificate rotation does not interrupt healthy application traffic.
Incorrect Answers
A:Disabling peer verification would let the orders service connect without confirming the billing service's identity and would allow expired client credentials to bypass the intended mTLS boundary. Internal networking is not a substitute for authenticated peers; a compromised workload could impersonate other services. Restore valid certificate material instead of permanently weakening both sides of the handshake.
C:Copying the billing server's private key to orders replicas would destroy the separation between client and server identities. Any compromised client could then impersonate the billing endpoint or undermine TLS trust, expanding the security incident's potential reach. The client needs its own valid certificate and private key, not possession of the destination service's secret signing material.
D:Plain HTTP removes the transport encryption and peer-authentication properties that mTLS was providing. A network labeled internal may still contain compromised services or traversable segments, so plaintext would not remedy the underlying expired client certificate. Replace the expired workload credential and validate both ends before returning the payment integration to service.
Question 146
A safety-critical production network has no physical cable, radio or routed uplink connecting it to the enterprise network. Security documentation calls this design an air gap. Which feature distinguishes it from logical segmentation?
- A tagged VLAN running across the same connected switches
- A router ACL separating different subnet addresses
- The absence of any physical data path to other networks
- An identity policy enforced only through a cloud application
Explanation
Correct Answer
C:An air gap is distinguished by the lack of an ordinary physical network communication path to the other environment, unlike VLANs or routing restrictions that coexist on connected infrastructure. The boundary can reduce remote attack reachability, but it does not eliminate risks from removable media, maintenance laptops, supply chains or unauthorized new connections. Protecting those transfer paths remains part of the design.
Incorrect Answers
A:A VLAN partitions traffic logically while using the same underlying switching hardware and connected physical links. Administrators can change trunk, routing or access settings and reestablish communications across it. That is useful segmentation but not the scenario's defined absence of any inter-network transmission path, which makes a physical air gap a distinct architecture choice.
B:Router access-control rules enforce a logical policy on a network path that physically exists. Misconfiguration, new routes or compromise of an enforcing router can change which packets traverse that path. The described environment has no cable, radio or uplink connecting the two networks, so an ACL cannot be the characteristic that defines its air gap.
D:An application identity policy governs whether an authenticated subject can access particular resources, typically across a functioning network path. It can strengthen logical isolation but does not remove the hardware or wireless route joining networks. A true air gap in the scenario relies on physical disconnection rather than trusting a cloud policy to deny each connection.
Question 147
Two unrelated departments share switch uplinks but must prevent either department from directly reaching the other's servers. Which THREE measures support a logically segmented design? Choose THREE.
- Allow all inter-VLAN connections because both departments are inside the enterprise
- Audit inter-segment policy decisions and monitor unintended connection attempts
- Reuse the same unrestricted local administrator credentials across both departments
- Separate departments into appropriately assigned VLANs or network segments
- Join the segments into one broadcast domain without any filtering
- Enforce explicit routed inter-segment access rules for permitted business traffic
Explanation
Correct Answers
B:Reviewing policy decisions and alerts for unexpected crossings helps detect mistakes and attacks that bypass the intended separation. Logs should identify source, destination, rule and outcome so teams can investigate repeated blocked connections or a newly allowed flow. Monitoring alone is not prevention, but alongside separate segments and access rules it supports continuing assurance that departmental boundaries remain effective.
D:Assigning the departments to separate VLANs or routed network segments creates distinct layer-two or layer-three traffic boundaries. This makes it possible to control paths between them rather than placing all hosts in one unrestricted broadcast domain. Segments alone are insufficient if a router permits everything, which is why the access rules and monitoring in the other keyed options matter.
F:Explicit deny-by-default inter-segment rules permit only documented applications and flows across the routed boundary. Those controls should be attached to the appropriate firewall, router or security-policy enforcement point and tested for expected allowed and denied traffic. Combined with distinct VLAN or network assignments, they reduce unintended reachability while supporting required business communications.
Incorrect Answers
A:Being on the same enterprise property or shared uplink does not imply that two departments should exchange traffic freely. An unrestricted routed path allows lateral movement when one network or endpoint is compromised. Segmentation requires defined inter-segment permissions, monitoring and least privilege, not a broad implicit permit simply because both departments are internally owned.
C:A single unrestricted local administrator password across both groups creates a common credential that can allow lateral movement even when the networks are separated. Sharing such a secret increases compromise impact and weakens attribution. Distinct privileged identities and scoped administration are more appropriate supporting controls, though this option explicitly proposes the opposite and does not enforce network isolation.
E:Merging the departments into a single broadcast domain expands direct local reachability and eliminates one of the planned boundaries. Without filtering, a compromised client could attempt to contact servers in the other department over ordinary local traffic. Consolidation is therefore contrary to the stated goal of independent departmental access and cannot substitute for enforcing permits at segment crossings.
Question 148
A controller centrally distributes policy-defined forwarding and security rules to campus switches through management APIs. Which architecture characteristic is illustrated?
- A USB storage backup that never modifies network forwarding
- A physical paper checklist as the only configuration mechanism
- A completely unmanaged flat network where each switch chooses policy without oversight
- Software-defined networking with centralized or logically centralized control functions
Explanation
Correct Answer
D:Software-defined networking separates or logically centralizes control functions and can program network devices through management interfaces. The controller calculates or distributes desired forwarding and security intent while switches enforce those rules in data-plane operation. This arrangement helps produce consistent policy and automation, although controller security, high availability and testing remain necessary to avoid central operational risks.
Incorrect Answers
A:A USB backup archives data but does not provide a controller that changes live forwarding or security rules through switch APIs. A saved configuration may support recovery, yet the question describes ongoing remote distribution of policies across devices. The relevant characteristic is a programmable control plane, not removable media as a storage mechanism.
B:A manually reviewed paper checklist may influence how technicians configure individual switches, but it is not the centralized API-driven rule distribution stated here. Paper procedures are administrative controls, while the described controller automates management of network behavior. Treating human instructions as the forwarding controller would ignore the defining technical architecture.
C:An unmanaged flat network leaves devices to operate without the centrally defined policies and API-based coordination in the prompt. It may have locally configured rules, but no common controller distributing policy decisions. The explicit presence of centralized programming means the scenario is not an example of independent ungoverned switches.
Question 149
All branches use one region's identity provider for authentication. A regional connectivity outage prevents new sign-ins even though branch application servers are still running. What architecture risk was realized?
- Sufficiently redundant local authentication at every branch
- A malicious SQL query changing local database schema
- A shared central identity dependency acting as a common failure point
- Automatic encryption of user passwords at rest
Explanation
Correct Answer
C:New sign-ins across many branches depend on one regional identity provider, so a network outage isolating that service creates correlated authentication failures. Independent application-server availability does not remove the need to obtain valid identity or authorization tokens. Resilience planning should assess alternative identity paths, caching policy, replication and failover without bypassing security requirements.
Incorrect Answers
A:Local authentication redundancy in each branch could allow new sessions to continue when the regional identity service is unreachable, subject to approved security rules. The question says the branches depend on one region and logins stop when that connection fails. That is evidence of an unavailable central dependency, not evidence that independent branch login capability was adequate.
B:A SQL injection that changes a database schema would require an application input path and unauthorized query execution; neither is part of the observed login failure. The branch applications remain running while their identity dependency is unreachable. Security analysis should follow that authentication dependency rather than infer an unrelated database injection from an outage.
D:Encrypting passwords at rest protects stored secrets against some forms of disclosure; it does not provide the network reachability or service redundancy needed for login. In fact passwords are usually protected with suitably slow salted one-way verifiers rather than reversible encryption. The symptom is loss of access to a central authentication dependency, not an encryption setting.
Question 150
Different branch offices configure security rules independently. One office allows a protocol denied everywhere else, despite a companywide policy. What is the central governance problem?
- Policy inconsistency and configuration drift across distributed enforcement points
- An unsupported TLS public-key signature length
- A cryptographically signed image with a verified checksum
- Overuse of VLAN tags on a correct trunk
Explanation
Correct Answer
A:Each branch implementing policy separately has allowed one location's configuration to diverge from approved enterprise intent. Central governance requires a defined baseline, controlled exceptions, continuous comparison and accountable remediation of unexpected changes. Otherwise the same risky protocol may be accepted at one enforcement point while other branches reject it, producing inconsistent exposure.
Incorrect Answers
B:The case does not involve a TLS certificate, signature algorithm or cryptographic key length. Those are technical assurance properties for identities or messages, not the reason one branch permits a protocol that policy forbids. Changing certificate parameters would leave the branch firewall or access rule discrepancy intact.
C:A signed image checksum can establish whether downloaded configuration or software bytes match an approved artifact. Nothing indicates that the branch policy is using a corrupted image, and a valid signature would not ensure that its rules match current enterprise standards. The observed defect is configuration governance and drift, not proof of corrupted software authenticity.
D:VLAN tagging controls network separation and trunk carriage at layer two, and its correct use does not explain a deliberate protocol exception at one branch. Even if the organization uses VLANs, the different allow/deny decisions arise from local security policy configuration. The solution is standardized governance and rule reconciliation, not simply reducing tag count.