View Full Cisco CCNP Security 300-745 Exam Dumps and Practice Test Dumps.
Q221. An organization needs to isolate servers within the same VLAN so that they cannot communicate directly with one another, while still allowing each server to reach an upstream gateway. Which switching feature best supports this design?
- EtherChannel
2. SPAN
3. VTP
4. Private VLANs
Correct Answer: 4. Private VLANs
Explanation: Private VLANs provide Layer 2 isolation between devices that share the same primary VLAN and IP subnet. Isolated ports can communicate with a promiscuous port, such as an upstream router or firewall, but cannot communicate directly with other isolated ports. This is useful in hosting, DMZ, or multi-tenant environments where systems require the same subnet but should not freely communicate east-west. EtherChannel combines links, SPAN mirrors traffic, and VTP distributes VLAN information. Private VLANs therefore provide the most direct Layer 2 segmentation mechanism for the stated requirement.
Q222. A company wants network access decisions to depend on whether a connecting endpoint is a corporate laptop, printer, IP phone, or unknown IoT device. Which capability is most useful?
- Device profiling integrated with network access control
2. Static default routing
3. GRE encapsulation
4. DNS round robin
Correct Answer: 1. Device profiling integrated with network access control
Explanation: Device profiling uses characteristics such as DHCP attributes, MAC vendor information, network behavior, protocols, certificates, and other telemetry to identify endpoint types. Integrated with NAC, profiling can drive different authorization policies for managed laptops, printers, phones, cameras, or unknown devices. For example, printers can be restricted to print servers while corporate laptops receive broader application access. Static routes and GRE provide connectivity functions, while DNS round robin distributes name-resolution responses. Profiling combined with NAC supports context-aware segmentation when devices have different security capabilities and communication requirements.
Q223. A security architect wants a network device to accept management connections only through SSH version 2 and reject insecure Telnet sessions. What security objective is primarily being addressed?
- Data-at-rest encryption
2. Confidentiality and integrity of management traffic
3. BGP route validation
4. Application sandboxing
Correct Answer: 2. Confidentiality and integrity of management traffic
Explanation: SSH protects administrative sessions using encryption and integrity mechanisms, reducing the chance that credentials or commands can be intercepted or modified in transit. Telnet transmits session information without equivalent encryption and should not be used across untrusted or shared networks. Restricting device management to SSHv2 is therefore a management-plane hardening measure. The control does not protect stored data, validate BGP route origins, or sandbox applications. Secure management should also include centralized AAA, restricted source addresses, MFA where possible, dedicated management networks, logging, and protection of device configuration backups.
Q224. Which design best protects an organization’s NTP infrastructure from unauthorized systems modifying network-device time synchronization?
- Permit NTP from every Internet host
2. Disable time synchronization completely
3. Use authenticated NTP sources and restrict devices to approved time servers
4. Replace NTP with DHCP
Correct Answer: 3. Use authenticated NTP sources and restrict devices to approved time servers
Explanation: Reliable time synchronization is essential for log correlation, certificate validation, authentication systems, incident investigation, and distributed application operation. Network devices should synchronize only with approved trusted NTP servers, and authentication should be used where supported to reduce spoofing or unauthorized time-source risks. Access controls can further restrict which systems are permitted to provide NTP. Disabling synchronization creates inconsistent timestamps that make investigations difficult. Allowing arbitrary Internet systems to influence infrastructure time is also unsafe. NTP is a distinct service and is not replaced by DHCP.
Q225. A browser-based application accepts state-changing requests from authenticated users. Which control most directly reduces Cross-Site Request Forgery risk?
- Anti-CSRF tokens tied to the user’s session
2. Larger DNS caches
3. GRE tunnels
4. BGP authentication
Correct Answer: 1. Anti-CSRF tokens tied to the user’s session
Explanation: Cross-Site Request Forgery tricks a user’s browser into submitting a state-changing request to an application where the user is already authenticated. Anti-CSRF tokens provide a value that an attacker-controlled external site should not be able to predict or obtain, allowing the application to verify that the request originated from an authorized application workflow. SameSite cookies and reauthentication for sensitive actions can provide additional protection. DNS, GRE, and BGP controls operate at network layers and do not address browser-generated forged application requests. CSRF defenses should be enforced server-side rather than relying only on user-interface behavior.
Q226. An API accepts SQL search parameters from users. Which development practice most directly prevents SQL injection?
- Increase database CPU capacity
2. Hide database errors only
3. Encode queries with Base64
4. Use parameterized queries or prepared statements
Correct Answer: 4. Use parameterized queries or prepared statements
Explanation: Parameterized queries separate user-controlled data from executable SQL syntax. Instead of concatenating raw input into a query string, the application sends the intended statement structure and parameters separately to the database. This prevents attacker input from being interpreted as additional SQL commands. Input validation remains valuable but should not replace parameterization. Hiding errors can reduce information disclosure but does not eliminate injection. Base64 encoding does not provide security because encoded content can simply be decoded. Prepared statements are therefore a core secure-coding defense against SQL injection.
Q227. A web application is accessed by JavaScript running on a different domain. The security architect wants to limit which origins can make browser-based cross-origin requests. Which mechanism should be configured?
- DHCP snooping
2. BGP communities
3. Cross-Origin Resource Sharing policy
4. MPLS labels
Correct Answer: 3. Cross-Origin Resource Sharing policy
Explanation: Cross-Origin Resource Sharing, or CORS, controls whether browsers permit JavaScript from one origin to access resources hosted by another origin. The application server returns headers defining which origins, methods, and headers are allowed. An overly permissive CORS policy can expose sensitive API responses to untrusted websites, particularly when credentials are involved. CORS is a browser-enforced mechanism and is not a substitute for server-side authentication and authorization. DHCP snooping, BGP communities, and MPLS labels provide networking functions and do not control browser cross-origin behavior.
Q228. An application requires encryption keys to be rotated annually without requiring developers to rewrite every component that uses encryption. Which architectural principle is most important?
- Permanent hard-coded keys
2. Centralized key management and crypto-agility
3. Disable key versioning
4. Store keys in application source code
Correct Answer: 2. Centralized key management and crypto-agility
Explanation: Centralized key management separates cryptographic key lifecycle operations from application business logic. Applications can reference managed key identifiers or APIs while the key-management system handles generation, rotation, authorization, storage, and audit. Crypto-agility further allows algorithms or keys to change without requiring extensive application redesign. Hard-coded keys make rotation difficult and expose sensitive material through repositories and build systems. Disabling versioning also complicates controlled migration. Central key management is important for encryption at rest, signing, certificates, and long-term preparation for future cryptographic transitions.
Q229. A security operations team wants endpoint agents to automatically quarantine malware while still allowing analysts to investigate process trees and historical activity. Which platform best fits the requirement?
- DHCP server
2. Route reflector
3. DNS resolver only
4. Endpoint Detection and Response platform
Correct Answer: 4. Endpoint Detection and Response platform
Explanation: EDR platforms combine endpoint telemetry, behavioral detection, investigation, and response capabilities. They can provide process trees, command-line activity, network connections, file events, persistence indicators, and historical context. Depending on policy, EDR can quarantine files, terminate processes, isolate hosts, or trigger additional automated actions. A DHCP server and route reflector provide infrastructure networking functions, while a DNS resolver alone cannot provide process-level endpoint evidence. EDR is therefore well suited to both automated endpoint containment and detailed incident investigation.
Q230. An organization wants to limit how long a compromised API access token remains useful without requiring users to reenter credentials for every request. Which design is most appropriate?
- Tokens that never expire
2. Short-lived access tokens with controlled refresh mechanisms
3. One permanent token shared by all users
4. Store administrator passwords in the client application
Correct Answer: 2. Short-lived access tokens with controlled refresh mechanisms
Explanation: Short-lived access tokens limit the period during which a stolen token can be used. When longer user sessions are needed, appropriately protected refresh mechanisms can obtain new access tokens without requiring a complete login for every API request. Refresh tokens should themselves be strongly protected, revocable, and scoped appropriately. Permanent bearer tokens significantly increase compromise impact, while shared tokens remove accountability. Client applications should also avoid embedding privileged reusable credentials. Short token lifetime is therefore an important defense when designing modern identity and API authorization systems.
Q231. A SOC analyst wants to determine whether an IP address observed in an alert has been associated with recent malware campaigns. Which data source provides the most relevant context?
- Threat intelligence platform or feed
2. DHCP scope size
3. Ethernet interface speed
4. Printer inventory
Correct Answer: 1. Threat intelligence platform or feed
Explanation: Threat intelligence platforms and feeds can provide reputation, campaign associations, malware infrastructure information, sightings, confidence scores, and contextual relationships for indicators such as IP addresses and domains. Analysts can use this information to enrich alerts and decide whether additional investigation or containment is required. Threat intelligence should not be treated as infallible; indicators can become stale, shared infrastructure can host both legitimate and malicious activity, and confidence matters. DHCP scope size and hardware inventory provide unrelated operational information. Threat intelligence is most valuable when combined with local telemetry and investigative context.
Q232. An incident response team wants to ensure that malicious persistence cannot survive after an infected workstation is restored. Which recovery approach provides the highest assurance?
- Reboot the workstation without making changes
2. Restore or rebuild from a known-good trusted image and validate it before return to service
3. Keep unknown startup entries in place
4. Disable EDR after recovery
Correct Answer: 3. Restore or rebuild from a known-good trusted image and validate it before return to service
Explanation: Rebuilding or restoring a compromised endpoint from a trusted known-good image provides stronger assurance than simply attempting to remove every malicious artifact manually. Persistent malware can hide in services, scheduled tasks, startup entries, or altered system files. After rebuilding, administrators should patch the system, restore only validated data, rotate compromised credentials, reinstall security controls, and monitor for recurrence before normal use resumes. A reboot alone does not remove persistence. Disabling EDR after recovery would reduce visibility precisely when additional monitoring is valuable.
Q233. A company identifies a vulnerability but cannot determine whether attackers are actively exploiting it. Which information most directly improves remediation prioritization?
- Office seating plan
2. Evidence of active exploitation and asset exposure
3. Employee vacation schedule
4. Monitor resolution
Correct Answer: 2. Evidence of active exploitation and asset exposure
Explanation: Vulnerability prioritization should consider more than a static severity score. Evidence that a flaw is being actively exploited, combined with whether the organization’s vulnerable asset is exposed to likely attackers, can materially increase urgency. Asset criticality, sensitive data, compensating controls, exploit maturity, and business impact should also influence the decision. A technically severe vulnerability on an isolated noncritical system can represent different risk than the same flaw on an Internet-facing identity service. Security architecture should therefore combine vulnerability intelligence with environmental and business context.
Q234. An organization has identified a security risk whose potential impact is high, but management decides to outsource the affected business process to a specialized provider that contractually assumes much of the exposure. Which risk response is primarily being used?
- Acceptance
2. Avoidance
3. Mitigation only
4. Transfer
Correct Answer: 4. Transfer
Explanation: Risk transfer shifts some responsibility or financial consequence to another party, typically through outsourcing, contracts, insurance, or indemnification arrangements. Outsourcing a risky process does not necessarily eliminate all organizational responsibility, particularly where regulatory, reputational, or customer obligations remain. The provider should therefore still undergo due diligence and ongoing monitoring. Avoidance would mean stopping the activity entirely, while acceptance retains the risk without additional treatment. Mitigation applies controls to reduce likelihood or impact. In practice, organizations often combine transfer with mitigation rather than relying on contracts alone.
Q235. Which security architecture principle ensures that no single administrator can both request and approve a highly sensitive production change?
- Separation of duties
2. Shared administrator accounts
3. Implicit trust
4. Permanent emergency access
Correct Answer: 1. Separation of duties
Explanation: Separation of duties divides sensitive responsibilities among multiple individuals so one person cannot unilaterally perform all steps of a high-risk process. For example, one engineer might request a firewall change while another authorized reviewer approves it. This reduces fraud, accidental changes, and abuse of privilege. Shared accounts weaken accountability because actions cannot be reliably attributed to individuals. Permanent emergency access can also bypass important controls if poorly managed. Separation of duties is commonly used in privileged administration, key management, financial systems, software releases, and security change-management workflows.
Q236. An organization wants new security architecture proposals to be evaluated consistently against confidentiality, integrity, availability, identity, monitoring, and regulatory requirements. What should it establish?
- An undocumented informal review
2. A repeatable security architecture review framework
3. One shared root password
4. A rule that all designs are automatically approved
Correct Answer: 3. A repeatable security architecture review framework
Explanation: A repeatable review framework ensures that different projects are evaluated against consistent security principles, standards, regulatory requirements, and risk criteria. Checklists, design patterns, reference architectures, threat modeling, data classification, and documented exceptions can all contribute. Consistency helps identify gaps early and reduces dependence on the personal preferences of whichever reviewer happens to be assigned. Automatic approval would undermine governance, while undocumented informal reviews provide weak traceability. A structured security architecture review process helps translate enterprise policies into practical system-design decisions.
Q237. A CI/CD system is compromised. Which design most reduces the chance that the attacker can immediately deploy malicious software to production?
- Separate build and production-deployment identities with independent approval controls
2. Give the build server permanent production administrator privileges
3. Disable deployment auditing
4. Allow unsigned artifacts into production
Correct Answer: 4. Separate build and production-deployment identities with independent approval controls
Explanation: Separating build and deployment authority limits the damage if one pipeline component is compromised. A build system may create and sign artifacts, while a separate protected deployment identity and approval process controls production release. Additional controls can verify artifact signatures, provenance, vulnerability status, and policy compliance before deployment. Giving build agents permanent production administrator rights creates a direct supply-chain compromise path. Disabling audits and accepting unsigned artifacts further weakens assurance. Separation of pipeline duties creates multiple barriers between compromised development infrastructure and production systems.
Q238. An automation workflow calls several APIs that enforce different rate limits. Which design is most appropriate when an API returns a temporary throttling response?
- Retry continuously with no delay
2. Implement bounded retries with backoff and respect server retry guidance
3. Disable authentication and try again
4. Create unlimited parallel requests
Correct Answer: 1. Implement bounded retries with backoff and respect server retry guidance
Explanation: Well-designed automation should handle transient API throttling predictably. Bounded retries with exponential or controlled backoff reduce pressure on the service and avoid creating a retry storm. When an API supplies retry timing information, the workflow should respect it. Retries should also be limited so persistent failures are surfaced to operators rather than continuing forever. Unlimited parallelism or immediate repeated requests can worsen throttling and potentially create denial-of-service conditions. Authentication should remain intact. Resilient automation treats API rate limits and transient failures as normal operating conditions rather than exceptional cases.
Q239. An AI model used for security triage produces systematically different risk scores for similar events from different business units because of biased historical training data. Which concern does this illustrate?
- AI bias and fairness risk
2. Ethernet loop
3. IP fragmentation
4. NAT exhaustion
Correct Answer: 3. AI bias and fairness risk
Explanation: Machine-learning models learn statistical patterns from training data, including unwanted historical biases. If some groups, environments, or business units were historically investigated differently, the model can reproduce those differences even when current events are similar. Security teams should evaluate model outputs across relevant populations, review feature choices, validate training data, and maintain human oversight where decisions materially affect users or business operations. This issue is distinct from traditional network failures. AI governance must address not only accuracy and adversarial attacks but also whether model behavior is consistent, explainable, and appropriate.
Q240. A security architect is evaluating quantum-safe migration for long-lived encrypted records. Which threat is especially important when information must remain secret for decades?
- DHCP relay failure
2. Harvest-now-decrypt-later attacks
3. Spanning-tree convergence
4. ARP aging
Correct Answer: 2. Harvest-now-decrypt-later attacks
Explanation: Harvest-now-decrypt-later describes an adversary collecting encrypted traffic or data today with the expectation that future quantum capabilities may allow decryption of currently protected information. This is particularly important for information that must remain confidential for many years, such as government, research, healthcare, or strategic corporate data. Organizations should identify long-lived sensitive information, inventory current cryptography, monitor post-quantum standards, and plan migration based on confidentiality lifetime. Traditional networking concerns such as DHCP relay, spanning tree, and ARP aging do not address the future cryptographic exposure posed by quantum computing.