Cisco CCNP Security 300-745 Practice Test Questions and Exam Dumps Part13 Q241-260

View Full Cisco CCNP Security 300-745 Exam Dumps and Practice Test Dumps.


Q241. An organization wants remote administrators to access management interfaces without exposing those interfaces directly to the Internet. Which architecture best meets the requirement?

  1. Publish every management interface with a public IP address
    2. Require administrators to connect through a hardened bastion or jump host
    3. Permit Telnet from any remote network
    4. Disable administrative authentication

Correct Answer: 2. Require administrators to connect through a hardened bastion or jump host

Explanation: A hardened bastion or jump host provides a controlled entry point for privileged administrative access. Instead of exposing routers, firewalls, servers, and other management interfaces directly to the Internet, administrators authenticate to the protected jump system and then reach authorized infrastructure from a restricted management network. The design can enforce MFA, session recording, command logging, endpoint posture, and source restrictions. Directly publishing management interfaces greatly increases attack surface. Telnet lacks suitable encryption, while disabling authentication would be unacceptable. A secured jump-host architecture therefore centralizes privileged access and supports stronger monitoring and least privilege.

Q242. A security architect must protect stored encryption keys while allowing applications to request cryptographic operations through an API. Which architecture provides the strongest key protection?

  1. Store keys in plaintext files beside the application
    2. Commit keys to the source repository
    3. Share one key through email
    4. Use an HSM-backed key management service

Correct Answer: 4. Use an HSM-backed key management service

Explanation: An HSM-backed key management service protects sensitive cryptographic keys inside a hardened hardware boundary and can expose controlled cryptographic operations through authenticated APIs. Applications can encrypt, decrypt, or sign without necessarily receiving the raw private key material. This reduces the chance that keys are exposed through source repositories, application files, debug logs, or compromised hosts. Access policies, audit logs, rotation procedures, and separation of duties further strengthen the design. Plaintext storage, email distribution, and source-code repositories provide far weaker key protection and make rotation and incident response substantially more difficult.

Q243. An enterprise wants switches to permit only approved source MAC addresses on user-facing access ports and shut down or restrict the port after violations. Which feature should be configured?

  1. Port security
    2. GRE tunneling
    3. BGP communities
    4. DNSSEC

Correct Answer: 1. Port security

Explanation: Switch port security can restrict the number or identity of MAC addresses permitted on an access port. Depending on configuration, the switch can learn approved addresses dynamically or use statically configured values and can restrict, protect, or shut down a port when violations occur. This helps reduce unauthorized device attachment and some forms of Layer 2 abuse. It should be combined with stronger technologies such as 802.1X where identity assurance is required. GRE, BGP communities, and DNSSEC provide tunneling, routing-policy metadata, and DNS integrity rather than endpoint admission controls on switch access ports.

Q244. A company needs a firewall architecture that identifies traffic by application even when the application uses nonstandard TCP ports. Which capability is required?

  1. Traditional port-only ACLs
    2. Static routing
    3. Application-aware next-generation firewall inspection
    4. DHCP relay

Correct Answer: 3. Application-aware next-generation firewall inspection

Explanation: Application-aware next-generation firewalls inspect traffic beyond basic IP addresses and TCP or UDP ports. They can use protocol behavior, signatures, TLS metadata, and other context to identify applications even when those applications use nonstandard or dynamic ports. This allows policy to be based on the actual application rather than simply permitting all traffic on a port. Traditional ACLs remain useful but cannot reliably distinguish different applications sharing the same transport port. Static routing and DHCP relay provide network connectivity services and do not identify application-layer behavior. Application-aware inspection therefore supports more precise firewall policy.

Q245. A cloud application must call an external payment API, but the security team wants to ensure the application cannot make arbitrary outbound connections to other Internet destinations. Which design is best?

  1. Permit unrestricted outbound Internet access
    2. Disable application logging
    3. Give the application a public administrator account
    4. Enforce egress filtering that allows only approved destinations and services

Correct Answer: 4. Enforce egress filtering that allows only approved destinations and services

Explanation: Egress filtering restricts which external systems and services a workload is permitted to contact. If the application only requires access to a specific payment API, policy can allow that destination while denying unnecessary outbound communication. This reduces opportunities for malware command and control, data exfiltration, and server-side request forgery to arbitrary Internet targets. DNS controls, proxy enforcement, workload identity, and TLS validation can further strengthen the design. Unrestricted outbound access increases the blast radius of application compromise, while disabling logs or adding administrator privileges provides no security benefit.

Q246. A security architect wants to prevent a web browser from sending an authentication cookie over an unencrypted HTTP connection. Which cookie attribute is most relevant?

  1. Domain
    2. Secure
    3. Path
    4. Expires

Correct Answer: 2. Secure

Explanation: The Secure cookie attribute instructs supported browsers to transmit the cookie only over HTTPS rather than ordinary unencrypted HTTP. This helps protect authentication or session cookies from exposure over insecure network connections. Other attributes can provide complementary protections. HttpOnly can reduce access from client-side scripts, and SameSite can help limit certain cross-site request scenarios. The Domain and Path attributes define where the browser sends a cookie, while expiration controls lifetime. Sensitive authentication cookies should generally be protected with appropriate Secure, HttpOnly, SameSite, lifetime, and server-side session-management settings.

Q247. An application needs to reduce the risk that browsers downgrade from HTTPS to HTTP after users have securely visited the site. Which response header is most appropriate?

  1. Access-Control-Allow-Origin
    2. Content-Disposition
    3. Strict-Transport-Security
    4. Server

Correct Answer: 3. Strict-Transport-Security

Explanation: HTTP Strict Transport Security, or HSTS, tells compatible browsers to use HTTPS for a site for a specified period and prevents normal downgrade to insecure HTTP. This can reduce exposure to certain SSL-stripping and protocol-downgrade attacks after the browser has learned the policy. HSTS should be deployed carefully because configuration mistakes can make a site inaccessible until the policy expires. Access-Control-Allow-Origin is associated with CORS, while Content-Disposition affects content handling. A complete HTTPS design also requires trusted certificates, strong TLS settings, proper redirects, and secure cookie configuration.

Q248. A development team wants to reduce the impact of a compromised software dependency by ensuring the application runs without unnecessary operating-system privileges. Which principle is most appropriate?

  1. Least privilege
    2. Shared root access
    3. Anonymous administration
    4. Disable process isolation

Correct Answer: 1. Least privilege

Explanation: Least privilege ensures that applications and services receive only the operating-system, filesystem, network, and cloud permissions necessary for their intended functions. If a software dependency is compromised, an attacker inherits only those limited privileges rather than unrestricted system control. Applications should avoid running as root or administrator unless absolutely necessary. Container capabilities, filesystem permissions, service accounts, and workload identities should all be constrained. Shared root access and disabled isolation increase the potential impact of compromise. Least privilege is therefore a foundational control for containing vulnerabilities within application and cloud-native environments.

Q249. A SOC receives evidence that an attacker has obtained legitimate credentials but is logging in from unusual locations and devices. Which capability best helps detect this behavior?

  1. Static routing
    2. Identity analytics and anomalous-login detection
    3. DHCP relay
    4. GRE keepalives

Correct Answer: 2. Identity analytics and anomalous-login detection

Explanation: Identity analytics can compare authentication events against normal user behavior and detect signals such as new devices, impossible travel, unusual locations, abnormal login times, atypical applications, or rapid changes in privilege use. This is particularly valuable when an attacker uses valid credentials because traditional authentication alone may not distinguish the attacker from the legitimate user. Risk-based policies can trigger additional MFA, block access, or generate SOC alerts. Static routing, DHCP relay, and GRE keepalives provide networking functions rather than behavioral identity detection. Identity telemetry is essential in modern credential-theft defense.

Q250. A company wants an automated incident workflow to disable a compromised account, but only after two independent high-confidence detections agree. Which design principle is being used?

  1. Single-source automation
    2. Permanent administrator access
    3. Corroboration before high-impact response
    4. Anonymous API access

Correct Answer: 3. Corroboration before high-impact response

Explanation: Requiring multiple independent signals before executing a disruptive action reduces the chance that a false positive causes unnecessary business impact. For example, an endpoint alert and a high-confidence identity-risk event might both be required before automatically disabling an account. The workflow should define the evidence threshold, logging, rollback procedure, and human escalation path. This approach is especially useful when actions such as account disablement, host isolation, or firewall blocking can interrupt critical operations. Unrestricted automation based on one weak signal can amplify detection errors. Corroboration therefore improves response reliability.

Q251. A security team wants to share indicators of compromise with external partners while automating distribution through a standard transport protocol. Which combination is most appropriate?

  1. STIX data transported with TAXII
    2. FTP files with no schema
    3. BGP communities over Telnet
    4. ARP tables sent by email

Correct Answer: 4. STIX data transported with TAXII

Explanation: STIX provides a structured data model for threat intelligence, including indicators, malware, campaigns, threat actors, and relationships. TAXII provides network services for exchanging that structured intelligence between organizations and security platforms. Together, they allow automated and interoperable sharing of cyber threat information. This is more scalable and machine-readable than ad hoc text files or email-based indicator sharing. FTP alone does not provide a standardized threat-intelligence schema. BGP and ARP information serve network infrastructure purposes and are not standards for exchanging contextual cyber threat intelligence.

Q252. A security team confirms that an attacker exploited an Internet-facing server through an unpatched vulnerability. Which architectural change most directly reduces recurrence?

  1. Disable vulnerability scanning
    2. Implement timely patching plus compensating controls for systems that cannot be patched immediately
    3. Remove all server logs
    4. Give the server broader network access

Correct Answer: 1. Implement timely patching plus compensating controls for systems that cannot be patched immediately

Explanation: The root cause is an exploitable vulnerability that remained exposed. A stronger architecture includes formal vulnerability and patch management with risk-based remediation timelines. When a patch cannot be installed immediately, compensating controls such as segmentation, IPS signatures, WAF rules, virtual patching, restricted access, or increased monitoring can reduce exposure temporarily. Disabling scanning removes visibility, while broader network access increases attack surface. Incident-driven design improvements should address both the specific vulnerable system and the process that allowed a known weakness to remain exploitable.

Q253. An organization maintains a formal list of identified risks, owners, likelihood, impact, treatment decisions, and current status. What is this document called?

  1. Routing table
    2. Packet capture
    3. Risk register
    4. VLAN database

Correct Answer: 3. Risk register

Explanation: A risk register provides a structured record of identified organizational risks and their management status. Entries commonly include a description, affected assets, likelihood, impact, risk rating, owner, chosen treatment, mitigation activities, due dates, and residual risk. The register helps ensure that risks are tracked rather than discussed once and forgotten. Security architects can use it to connect technical findings with accountable business decisions. Routing tables, packet captures, and VLAN databases document technical network state rather than enterprise risk ownership and treatment. A current risk register supports governance, prioritization, and executive reporting.

Q254. A vulnerability would cost approximately $50,000 each time it causes a successful incident and is expected to occur once every five years. What is the approximate Annualized Loss Expectancy?

  1. $50,000
    2. $10,000
    3. $250,000
    4. $5,000

Correct Answer: 1. $10,000

Explanation: Annualized Loss Expectancy can be estimated by multiplying Single Loss Expectancy by the Annual Rate of Occurrence. Here, the expected loss per successful event is $50,000. One event every five years corresponds to an annual rate of 0.2. Multiplying $50,000 by 0.2 produces an ALE of approximately $10,000 per year. Quantitative estimates are rarely exact, but they can help compare expected risk against the annual cost of safeguards. Security teams should clearly document assumptions and ranges rather than presenting uncertain estimates as precise predictions.

Q255. Which security-design approach requires systems to remain secure even if a single protective mechanism fails?

  1. Implicit trust
    2. Single-point enforcement
    3. Defense in depth
    4. Security through obscurity only

Correct Answer: 2. Defense in depth

Explanation: Defense in depth uses multiple complementary security layers so that failure or bypass of one control does not automatically expose the protected asset. For example, an Internet application might use DDoS protection, firewalling, WAF inspection, secure authentication, application authorization, endpoint protection, segmentation, and monitoring. No single control is expected to provide perfect protection. Implicit trust and single-point enforcement create larger failure domains. Obscurity may marginally slow attackers but should never be the primary security mechanism. Defense in depth increases resilience by requiring attackers to overcome multiple independent safeguards.

Q256. An organization wants security design decisions to be derived from business objectives, assets, risk, and required security services rather than starting with specific products. Which architecture philosophy best matches this goal?

  1. Product-first architecture
    2. Flat network design
    3. Uncontrolled technology adoption
    4. Business-driven security architecture

Correct Answer: 4. Business-driven security architecture

Explanation: Business-driven security architecture begins by understanding organizational objectives, important assets, stakeholders, risk, legal obligations, and required security properties. Controls and products are then selected to satisfy those requirements. This prevents architectures from becoming collections of disconnected technologies that do not address actual business risk. Frameworks such as SABSA emphasize this type of alignment. Product-first design can lead teams to deploy tools simply because they are available rather than because they solve a defined problem. Security architecture should therefore trace technical decisions back to measurable business and risk requirements.

Q257. A DevSecOps team wants to prevent unreviewed code from being merged into the production branch. Which source-control control is most appropriate?

  1. Protected branches with mandatory pull-request review
    2. Allow force-pushes from every developer
    3. Disable source-control authentication
    4. Share one repository administrator account

Correct Answer: 1. Protected branches with mandatory pull-request review

Explanation: Protected branches can prevent direct or unauthorized updates to critical branches and require pull requests, peer review, automated tests, and security checks before code is merged. This creates a repeatable control point in the development workflow and provides an auditable record of who proposed and approved changes. Force-pushing or using shared administrator credentials weakens traceability and can bypass review. Authentication should remain enabled. Branch protection is especially valuable when production deployments are automatically triggered from the main branch because source-control integrity then becomes part of the production security boundary.

Q258. An infrastructure automation workflow must make changes to hundreds of devices. Which practice best reduces the risk that one incorrect template causes a widespread outage?

  1. Deploy immediately to every device
    2. Disable pre-deployment testing
    3. Test in stages and use canary or phased rollout techniques
    4. Remove rollback capability

Correct Answer: 4. Test in stages and use canary or phased rollout techniques

Explanation: Canary and phased deployments limit blast radius by applying a change to a small, representative subset of systems before wider rollout. Monitoring can verify expected behavior before the automation continues. If problems appear, the workflow can stop and roll back rather than affecting the entire infrastructure. This approach is particularly important for large-scale security policy or network configuration automation where a small template mistake can cause major outages. Full immediate rollout removes an important validation opportunity. Pre-deployment testing, change windows, backups, dry runs, and automated rollback further improve automation safety.

Q259. An AI-based security assistant exposes too much confidential information when users ask carefully crafted questions about the training data. Which AI risk is most closely associated with this behavior?

  1. BGP hijacking
    2. ARP poisoning
    3. Model inversion or training-data leakage
    4. DHCP starvation

Correct Answer: 3. Model inversion or training-data leakage

Explanation: Model inversion and related privacy attacks attempt to recover or infer sensitive information represented in a model’s training data. If an AI system reveals confidential records, secrets, or other memorized data in response to crafted prompts, the organization faces a significant privacy and data-governance risk. Controls can include data minimization, redaction, privacy-preserving training, access restrictions, output filtering, and rigorous model testing. BGP, ARP, and DHCP attacks affect network infrastructure rather than AI training-data confidentiality. Sensitive organizational data should be carefully evaluated before inclusion in model training or fine-tuning datasets.

Q260. An AI security assistant is integrated with a ticketing system containing untrusted user text. How should the architecture prevent ticket content from overriding the assistant’s privileged operational instructions?

  1. Treat ticket text as privileged system instructions
    2. Isolate untrusted content from system instructions and constrain tool permissions
    3. Give the model unrestricted shell access
    4. Disable all authorization on connected tools

Correct Answer: 2. Isolate untrusted content from system instructions and constrain tool permissions

Explanation: User-submitted ticket content is untrusted data and might include prompt-injection instructions intended to manipulate the AI system. The architecture should clearly separate privileged system instructions from retrieved or user-provided text and prevent untrusted content from automatically becoming executable commands. Connected tools should use least-privilege identities and deterministic authorization controls so the model cannot perform prohibited actions even if manipulated. High-impact actions can also require human approval. Giving the assistant unrestricted tool access would turn a prompt-injection weakness into a potentially severe infrastructure compromise.