mcAfee Secure Website
23

CompTIA SY0-701 Bundle

Exam Code: SY0-701

Exam Name CompTIA Security+

Certification Provider: CompTIA

Corresponding Certification: CompTIA Security+

SY0-701 Training Materials $44.99

Reliable & Actual Study Materials for SY0-701 Exam Success

The Latest SY0-701 Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    SY0-701 Questions & Answers

    1044 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • 25
    SY0-701 Video Course

    SY0-701 Training Course

    167 Video Lectures

    Based on Real Life Scenarios which you will encounter in exam and learn by working with real equipment.

  • exam =30
    Study Guide

    SY0-701 Study Guide

    1003 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

CompTIA Security+ (SY0-701) Practice Tests

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable CompTIA Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    1044 Questions

    $124.99
    exam =35
  • exam =37
    SY0-701 Video Course

    Training Course

    167 Video Lectures

    $39.99
  • exam =36
    Study Guide

    Study Guide

    1003 PDF Pages

    $29.99

CompTIA SY0-701 Practice Test 34

Question 330

A vendor web portal has a public injection flaw with a patch unavailable for two days. Which modification to enterprise security capabilities is MOST specifically appropriate?

  1. Targeted WAF protection as temporary mitigation
  2. Explicit ACL deny for cross-zone path
  3. Disable Telnet and enforce SSH
  4. Restrict source destination and TCP 443

Explanation

Correct Answer

A:

Deploy a targeted WAF virtual patch for the specific injection pattern on the exposed vendor portal while the vendor prepares and validates the unavailable software fix. A WAF may block known malicious payloads at the HTTP layer without changing application code, making it a defensible short-lived compensating control. Test signatures against legitimate portal requests to reduce false positives, watch for bypasses, and remove or adjust the mitigation after the validated patch. WAF filtering does not guarantee that all variants of the flaw are contained.

Incorrect Answers

B:

An explicit cross-zone ACL deny can block traffic between networks, such as engineering clients and finance databases. It does not selectively inspect or reject injection payloads while maintaining public web portal availability. Blocking all customers might eliminate reachability but violates the implied need to keep the vendor portal operating until the patch arrives.

C:

Disabling Telnet and enforcing SSH protects administrative CLI sessions against plaintext credential exposure. The identified vulnerability is a public injection flaw in a web application, not unencrypted management access. Changing the remote shell protocol does not validate web inputs or block malicious HTTP requests directed at the portal.

D:

Restricting permitted sources, destinations, and ports is good least-privilege network design. The portal must remain publicly reachable on its web service, so a TCP 443 allow rule alone does not identify or reject injection payloads within HTTPS requests. Use a targeted web-layer mitigation in front of the vulnerable application while its code fix is pending.

Question 331

Payroll exports cross an untrusted network using ordinary FTP credentials and unencrypted payloads. Which technical policy or control should the administrator implement?

  1. Disable Telnet and enforce SSH
  2. SFTP over SSH
  3. Authenticated enforced SMTP TLS policy
  4. Publish SPF authorized sender list

Explanation

Correct Answer

B:

Replace the plaintext FTP export with SFTP over SSH between properly authenticated client and partner endpoints, using trusted host keys and appropriate access permissions. SSH encrypts both credentials and file contents within the SFTP session, addressing the explicit interception risk on the untrusted network. Confirm the recipient supports SFTP rather than assuming FTP-over-TLS is the same protocol, migrate scheduled jobs safely, and validate host-key checking so encryption is not undermined by impersonation.

Incorrect Answers

A:

Replacing Telnet with SSH encrypts interactive remote administration sessions and prevents network observers from reading CLI credentials. Payroll exports instead use FTP, a different protocol with plaintext authentication and data connections. Hardening switch remote login would not protect the exported payroll files as they cross the untrusted network.

C:

Enforced SMTP TLS secures mail transfer between appropriately configured servers and may protect confidential email transport. The workflow described is an FTP-based payroll export, not SMTP messaging. Enabling TLS for outbound mail would leave the existing FTP username, password, and file payloads readable on their network path.

D:

An SPF TXT record lists authorized mail senders for an envelope domain and helps recipients evaluate spoofed SMTP sources. It does not encrypt files or credentials, and it is not used to authenticate an SFTP or FTP transfer. The case requires confidentiality for payroll exports, not sender authorization for email domains.

Question 332

The network team has already replaced Telnet with SSH for switch administration. A configuration review now finds that clients do not verify switch host keys and the switches still accept deprecated weak key-exchange algorithms. Which next hardening change BEST addresses those remaining SSH trust weaknesses?

  1. Continue accepting unverified host keys because the login password is encrypted
  2. Enable SNMPv2c community strings for remote CLI administration
  3. Require verified SSH host keys and disable deprecated weak cryptographic algorithms
  4. Re-enable Telnet on the management VLAN to support older clients

Explanation

Correct Answer

C:

Configure the SSH clients to validate the switches' authentic host keys or trusted host certificates, and disable deprecated weak key-exchange, cipher, and MAC algorithms on both endpoints. Host-key checking resists impersonating management servers, while modern negotiated algorithms protect session confidentiality and integrity. The team has already migrated from Telnet, so these remaining trust and cryptographic weaknesses require direct SSH configuration changes. Test supported algorithms and maintain a controlled host-key rotation process before enforcing stricter policies fleetwide.

Incorrect Answers

A:

Password authentication protects user access to SSH after the connection is established, but blindly trusting any presented host key allows an impersonating server to become the apparent target. Even with encrypted packets, the client could establish its session to an attacker-controlled endpoint. The question identifies missing server identity validation and weak algorithms, so accepting unknown host keys is unsafe.

B:

SNMPv2c uses shared community strings for network-management queries and generally does not provide cryptographic confidentiality or strong message authentication. Enabling it would not repair SSH host-key verification or deprecated key exchange. The requirement is to harden the already deployed administrative SSH path, not add a weaker monitoring protocol.

D:

Re-enabling Telnet would send management commands and credentials without SSH's normal cryptographic protection and would create another exposed administrative path. This directly reverses the completed migration to SSH and does nothing to fix unverified SSH host keys. Older clients should be upgraded or retired rather than introducing plaintext remote management.

Question 333

A system relays confidential files by SMTP to a partner and the transport must reject downgrade to plaintext. Which technical policy or control should the administrator implement?

  1. Authenticated enforced SMTP TLS policy
  2. Disable Telnet and enforce SSH
  3. SFTP over SSH
  4. DKIM signatures and public key record

Explanation

Correct Answer

A:

Configure enforced TLS for the SMTP transfer to the specific trusted partner, with authenticated server identity and a policy that rejects delivery when a secure TLS session cannot be established. This prevents silent downgrade to plaintext, unlike ordinary opportunistic SMTP encryption. Depending on the deployment, mutually agreed mandatory STARTTLS policy, DANE with appropriate DNSSEC trust, or suitable MTA-STS enforcement can provide the policy layer. Verify certificate and routing expectations with the partner, and note that transport TLS protects each hop rather than automatically encrypting stored mail end to end.

Incorrect Answers

B:

Disabling Telnet and using SSH protects interactive network administration, not necessarily SMTP message transfer between email relays. Even if both systems support SSH, the described workflow sends files through SMTP. The required control must make the mail transport refuse plaintext fallback when the destination cannot negotiate authenticated TLS.

C:

SFTP provides encrypted file transfer over SSH when both parties choose that protocol. It could be an alternate architectural solution for exports, but the case explicitly states that the system must relay confidential files by SMTP. Replacing the business mail flow is not the requested SMTP downgrade-prevention policy.

D:

DKIM signs selected mail headers and a body hash so recipients can validate message integrity and the signing domain. It does not encrypt SMTP hops or prohibit a sender from falling back to plaintext when TLS negotiation fails. The specific risk is intercepted confidential content during transport, which requires enforced authenticated TLS rather than email signature verification alone.

Question 334

An organization wants to publish the list of mail server IP addresses that are permitted to send email using its envelope MAIL FROM domain. Which DNS-based email authentication mechanism supplies that sender-authorization list?

  1. A DKIM public key used to verify signed message headers
  2. An SPF TXT record listing authorized sending hosts for the envelope domain
  3. A DMARC policy that instructs receivers what to do when aligned authentication fails
  4. Mandatory STARTTLS for encrypted SMTP transport

Explanation

Correct Answer

B:

Publish a Sender Policy Framework (SPF) TXT record for the relevant envelope MAIL FROM domain with the organization's authorized sending hosts or address ranges and an appropriate policy qualifier. A receiving mail server evaluates the connecting SMTP client IP against that authorization list during SPF checking. The scenario explicitly asks for IP-based sender authorization rather than message signatures or transport encryption. Keep the record within SPF lookup limits and review it when mail services change; SPF alone does not guarantee visible From-domain alignment.

Incorrect Answers

A:

A DKIM DNS record publishes a cryptographic verification key used to validate mail signatures made by a domain's signer. DKIM helps detect certain forms of tampering and supports domain authentication, but it does not list the source IP addresses permitted to send with an envelope MAIL FROM domain. That distinction is central to this question.

C:

DMARC combines aligned SPF or DKIM authentication with a domain policy such as none, quarantine, or reject and provides optional reporting. It guides handling of messages that fail aligned authentication but does not itself enumerate every authorized sending IP. The domain first needs an SPF sender list for the particular MAIL FROM authorization described here.

D:

Mandatory STARTTLS encryption protects mail transport when a peer can validate the required TLS connection, and can prevent downgrade under the selected policy. It does not declare which SMTP source IPs may send for an envelope domain. Encryption of the connection and SPF sender authorization solve different threats; the question explicitly asks for the latter.

Question 335

Recipients need to validate the cryptographic signature of mail claiming to come from the enterprise. Which technical policy or control should the administrator implement?

  1. DMARC policy quarantine with alignment
  2. Disable Telnet and enforce SSH
  3. DKIM signatures and public key record
  4. Publish SPF authorized sender list

Explanation

Correct Answer

C:

Sign outgoing mail with DomainKeys Identified Mail (DKIM) using a protected private key, and publish the corresponding selector public key in the domain's DNS. Recipients can verify the message signature and detect changes to the signed headers and body hash under DKIM canonicalization rules. The question asks for cryptographic message verification of claimed enterprise mail, which is DKIM's direct function. Combine it with correctly aligned DMARC policy and SPF to improve spoofing defenses; DKIM is not message encryption.

Incorrect Answers

A:

DMARC quarantine policy tells participating receivers how to treat messages that fail aligned authentication and may supply aggregate reports. It is valuable for domain spoofing policy but relies on SPF or DKIM results; it does not itself create a cryptographic signature on the mail. The scenario specifically asks recipients to verify a signed enterprise message.

B:

Switching administrative devices from Telnet to SSH encrypts remote management commands and credentials. It has no bearing on cryptographic verification of SMTP message headers or body content. Mail recipients cannot authenticate a claimed enterprise signing domain through a switch's SSH transport settings.

D:

SPF lists hosts permitted to send mail on behalf of an envelope MAIL FROM domain and is evaluated from the connecting server's IP. It helps authenticate sending infrastructure but does not cryptographically sign a message body or selected headers. Recipients seeking signature verification need DKIM rather than an SPF list alone.

Question 336

A domain has functioning aligned authentication and wants receivers to quarantine impersonating mail. Which modification to enterprise security capabilities is MOST specifically appropriate?

  1. DKIM signatures and public key record
  2. DMARC policy quarantine with alignment
  3. SFTP over SSH
  4. Publish SPF authorized sender list

Explanation

Correct Answer

B:

Publish a DMARC policy for the domain that specifies quarantine for messages failing aligned SPF and DKIM evaluation, with suitable reporting and a carefully staged rollout. DMARC instructs participating receivers to apply the owner's requested disposition when neither authentication mechanism passes with the required visible From alignment. The prompt confirms aligned authentication is already operating, so adding the desired failure-action policy is the missing step. Monitor aggregate reports and legitimate third-party senders before enforcing broad quarantine to avoid blocking authorized traffic.

Incorrect Answers

A:

A DKIM signer and public DNS key let receivers validate signatures and may contribute to DMARC alignment. The scenario states authentication is already functioning and aligned, however; the new requirement is receiver handling of mail that impersonates the domain. DKIM by itself does not instruct receivers to quarantine failures.

C:

SFTP encrypts file transfer over SSH but has no role in domain-based SMTP authentication policy or receiver handling of spoofed mail. It can protect payroll exports if a file-transfer application uses it, yet the scenario is about messages claiming to be from a domain. An SFTP endpoint cannot publish a quarantine instruction to recipient mail servers.

D:

SPF authorizes SMTP source IP addresses for an envelope domain and can contribute to DMARC when alignment conditions are met. It does not itself tell receivers to quarantine messages that fail aligned authentication; a negative SPF result may be handled under various local policies. Configure DMARC for the requested receiver disposition.

Question 337

A threat-intelligence team confirms that a particular hostname is used only for malware command-and-control. Managed endpoints resolve it through the enterprise recursive DNS service, and security must prevent those lookups from returning its real destination. What control should be configured?

  1. DNSSEC validation alone, assuming the malicious domain publishes authentic signed records
  2. A protective DNS rule that blocks resolution of the confirmed malicious hostname
  3. An encrypted-DNS setting that protects the privacy of queries but still resolves the destination
  4. A data-loss-prevention rule watching document uploads but not controlling DNS answers

Explanation

Correct Answer

B:

Configure protective DNS policy on the enterprise recursive resolvers to deny or sinkhole requests for the confirmed malicious command-and-control hostname, then log and alert on attempted queries. The analyst has validated that this hostname has no legitimate use, and managed endpoints rely on enterprise DNS, making resolver-layer blocking a direct response. Prevent clients from bypassing approved DNS resolvers where policy permits and assess alternative domains or cached records. A DNS block reduces reachability but does not remove malware already running on an endpoint.

Incorrect Answers

A:

DNSSEC validates that signed DNS responses have not been modified relative to a trusted DNSSEC chain. A malicious operator can legitimately sign records for a domain they control, so authentic DNS data can still direct users to malware. The task is deliberately to block resolution of a confirmed malicious hostname, not merely verify data integrity.

C:

Encrypted DNS protocols such as DoT or DoH protect DNS queries against passive intermediaries on the path. They do not automatically prevent a resolver from returning a valid address for a malicious domain. A private but successful lookup would still let an infected endpoint contact the command-and-control infrastructure, violating the required block.

D:

Data loss prevention detects protected files moving through unauthorized uploads or removable-media paths. It may alert on exfiltration later, but it does not control which DNS addresses the enterprise recursive service returns. The specific requirement is to prevent resolution of a confirmed command-and-control hostname, requiring protective DNS filtering instead.

Question 338

A Linux service process is exploited but must not read arbitrary home directories despite its Unix owner permissions. Which modification to enterprise security capabilities is MOST specifically appropriate?

  1. Centralized Group Policy screen-lock settings
  2. SELinux mandatory access controls
  3. NAC restricted remediation VLAN
  4. File integrity change detection and alert

Explanation

Correct Answer

B:

Apply a properly designed SELinux mandatory access control policy that confines the exploited service domain to the files and operations explicitly permitted by security policy, regardless of ordinary discretionary owner permissions. The service may be compromised yet should not be able to browse unrelated users' home directories. SELinux type enforcement can block access even when a conventional Unix account would otherwise have permission. Test the policy in an appropriate mode, handle labeled paths carefully, and monitor denied operations before enforcing changes in production.

Incorrect Answers

A:

Windows Group Policy can centrally enforce workstation controls such as idle screen locking, password policy, and various configuration settings. The affected host is a Linux server with a compromised service process that can read directories permitted by ordinary Unix ownership. Domain screen-lock policies do not provide the required confinement for a Linux daemon.

C:

A NAC remediation VLAN restricts network connectivity for endpoints failing posture requirements. It can contain an unhealthy laptop but does not directly prevent a local Linux service process from reading files on the same machine. The exploit is a host-level privilege boundary problem, so mandatory access controls are the appropriate mechanism.

D:

File integrity monitoring detects changes to protected file contents or configuration baselines and can alert investigators after unauthorized edits. It does not necessarily stop a compromised service from opening and reading unrelated home directories. The scenario requires enforcing a restriction on the process's read capability, which an SELinux policy can provide.

Question 339

Hundreds of Windows domain PCs allow unlimited idle unlocked sessions despite corporate policy. Which technical policy or control should the administrator implement?

  1. Resolver policy blocks malicious name
  2. SELinux mandatory access controls
  3. File integrity change detection and alert
  4. Centralized Group Policy screen-lock settings

Explanation

Correct Answer

D:

Configure and deploy domain Group Policy or an equivalent centrally managed Windows endpoint policy that enforces screen locking after the approved inactivity interval and requires authentication on resume. The current unlimited unlocked sessions expose data and account privileges whenever employees walk away. Central policy reduces inconsistent manual settings and supports auditable compliance across the workstation fleet. Validate policy application with representative devices and exceptions; the control does not replace user sign-out on shared public machines.

Incorrect Answers

A:

Protective DNS filtering blocks known malicious hostnames and can prevent endpoint connections to some command-and-control domains. It has no effect on whether Windows workstations lock their screens when left idle. The risk involves unauthorized people using already authenticated local sessions, not resolution of external domains.

B:

SELinux mandatory access control enforces process confinement on supported Linux systems. This fleet consists of domain-joined Windows PCs and needs consistent idle-session locking. SELinux rules cannot be deployed to Windows Group Policy to enforce workstation screen timeouts; use native centralized endpoint policy instead.

C:

File integrity monitoring reports changes to selected files or configurations and helps detect tampering. It would not enforce an idle-timeout setting merely by noticing that some machine values differ. The enterprise needs the screen lock actually configured and maintained on hundreds of clients, with compliance verification following enforcement.

Question 340

A payment server's security configurations change outside scheduled maintenance with no administrative change ticket. Which modification to enterprise security capabilities is MOST specifically appropriate?

  1. File integrity change detection and alert
  2. Behavior-based detection of living-off-the-land abuse
  3. Centralized Group Policy screen-lock settings
  4. SELinux mandatory access controls

Explanation

Correct Answer

A:

Enable file integrity monitoring on the payment server's critical security configuration files and alert when their hashes, metadata, or controlled change attributes diverge from approved baselines outside authorized maintenance. The problem is unexplained modification of protected settings without a change ticket, so recording and escalating that delta is the most direct capability. Correlate alerts with administrative logs and planned deployment windows to investigate who changed the files. FIM detects changes; it does not by itself identify the attacker or prevent every alteration.

Incorrect Answers

B:

Behavior-based EDR analytics can detect suspicious process chains and misuse of trusted administrative utilities even when antivirus signatures do not fire. The scenario gives no evidence of living-off-the-land execution; it identifies unexplained configuration-file changes. FIM targets that specific observable difference more directly, while behavioral telemetry may help investigate its origin.

C:

Centralized Group Policy can enforce Windows workstation settings such as screen-lock timeouts at fleet scale. It is not a general-purpose file-change detector for every payment server security configuration. Applying a screen-lock policy would not record unauthorized edits to the server's protected files or correlate them with the missing change ticket.

D:

SELinux mandatory access control can confine Linux service domains even when ordinary discretionary file permissions would permit access. It is useful for restricting what a compromised daemon may read or modify. The current requirement is to detect unexpected changes already occurring in payment server configuration files, so file integrity monitoring is the more specific answer.