McAfee-Secured Website

Exam Bundle

Exam Code: SY0-701

Exam Name CompTIA Security+

Certification Provider: CompTIA

Corresponding Certification: CompTIA Security+

CompTIA SY0-701 Bundle $44.99

100% CompTIA SY0-701 Guaranteed Success With Testking Training Materials

Get Real SY0-701 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    SY0-701 Questions & Answers

    1044 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual SY0-701 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • SY0-701 Video Course

    SY0-701 Video Course

    167 Video Lectures

    SY0-701 Video Course is developed by CompTIA Professionals to help you pass the SY0-701 exam.

    Description

    This course will improve your knowledge and skills required to pass CompTIA Security+ exam.
  • Study Guide

    SY0-701 Study Guide

    1003 PDF Pages

    Developed by industry experts, this 1003-page guide spells out in painstaking detail all of the information you need to ace SY0-701 exam.

CompTIA Security+ (SY0-701) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    1044 Questions

    $124.99
  • SY0-701 Video Course

    Video Course

    167 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    1003 PDF Pages

    $29.99

CompTIA SY0-701 Practice Test 38

Question 370

An application uses time-limited tokens to access an API. A user’s role is removed while an earlier token remains valid. Which security concern must the design address?

  1. Increase the signature-key length for future access tokens but let existing tokens retain their old privileges until their original expiry.
  2. Revocation or short expiration of previously issued authorization tokens.
  3. Encrypt the access token with a longer key while continuing to accept old authorization claims unchanged.
  4. Recheck roles only when the user starts a new browser session, not when an outstanding API token is presented.

Explanation

Correct Answer

B:

A stale token can preserve old permissions until checked or expired. Session design should enforce timely entitlement changes.

Incorrect Answers

A:

A stronger signing key can protect issuance against forgery, but it does not invalidate an already-issued token that still authorizes a removed role. Revocation or appropriately short lifetimes control stale authorization.

C:

Stronger encryption of token contents does not cause claims to reflect revoked role assignments. Timely authorization requires a revocation mechanism or suitably short token validity.

D:

New-session checks miss an existing bearer token that retains stale claims. The API must have a way to reject or expire authorization issued before the entitlement change.

Question 371

Several administrators use one shared superuser password. Investigators can see a database change but cannot determine which employee made it. What foundational security design improvement is needed?

  1. A longer shared password used by every administrator.
  2. Rotate the shared superuser password after every administrator shift while all staff continue using the same account.
  3. Individual privileged identities with attributable session and action records.
  4. Add detailed database query logging under the common superuser identity without individual login-session attribution.

Explanation

Correct Answer

C:

Unique identities and associated accounting logs link operations to authorized personnel and support investigation.

Incorrect Answers

A:

A stronger common secret may resist guessing but still fails to distinguish which person used it.

B:

Frequent rotation may limit credential exposure, but the audit record still shows only the shared identity. Investigators need uniquely authenticated administrator sessions linked to each action.

D:

The extra query detail describes actions but not which person performed them. Individual privileged identities and attributable session records resolve the attribution gap.

Question 372

An internal update repository mirrors software from multiple vendors. Operators need to know whether a package truly came from the asserted publisher instead of a malicious mirror. Which check supplies the best authenticity evidence?

  1. Compare the download hash with a checksum file obtained from the same unverified mirror.
  2. Verify the publisher’s digital signature and trusted certificate identity.
  3. Validate the HTTPS certificate of the repository mirror and assume that every package served by it is genuine.
  4. Check that the package version and size match the vendor catalog while omitting cryptographic publisher verification.

Explanation

Correct Answer

B:

A valid signature linked to an authenticated vendor identity supports provenance and modification detection independent of the mirror location.

Incorrect Answers

A:

A hostile mirror can replace both the package and its unsigned checksum. A trusted publisher signature verifies provenance independently of the distribution server.

C:

Transport authentication helps identify the mirror, not the original software publisher. A compromised mirror may serve malicious packages over legitimate HTTPS.

D:

Names, version labels and sizes are easy to forge. Only verification tied to the publisher’s trusted signing identity supports the claimed package origin.

Question 373

A public gateway is actively exploited. Normal change review meets weekly, but a temporary defensive rule is needed now. Which process balances rapid response and accountability?

  1. Apply a temporary block as an undocumented administrator override and postpone recording the change indefinitely.
  2. Use the documented emergency authorization path with risk, owner and postchange review.
  3. Log an emergency ticket and wait for the next weekly board meeting before implementing any mitigations.
  4. Implement the emergency rule first under a shared account with no defined reviewer, rollback trigger or audit record.

Explanation

Correct Answer

B:

Emergency change mechanisms allow accelerated approval without losing scope, rollback and auditability.

Incorrect Answers

A:

The block may reduce immediate exploitation but an untracked bypass lacks owner, rollback and evidence. Emergency processes preserve accountability while authorizing urgent action.

C:

Documentation alone does not address an active threat when authorized emergency change controls are available. Rapid scoped authorization and postchange review are the balanced approach.

D:

Acting rapidly is important, but an unowned, unreviewable change can create outages and leave permanent exceptions. The documented emergency path establishes responsibility and follow-up.

Question 374

A new routing rule will be deployed automatically. The team wants an automatic backout if customer traffic suffers, but has not defined what counts as failure. What must be specified?

  1. Automatically classify a deployment as successful whenever the routing configuration command returns without syntax errors.
  2. Use an operator's subjective judgment of whether the routing change felt successful.
  3. Measurable acceptance thresholds and rollback triggers.
  4. Roll back automatically after a fixed elapsed time even when service checks show no regression.

Explanation

Correct Answer

C:

Measurable indicators such as failed health checks and error-rate limits let automation reverse harmful changes consistently.

Incorrect Answers

A:

Successful application only confirms command processing, not acceptable customer connectivity or latency after the change. Safe rollback logic needs measurable service thresholds and explicit triggers based on observed behavior.

B:

An informal impression cannot trigger a repeatable automatic rollback. The automation needs measurable failure conditions such as error rates, packet loss or transaction failures.

D:

A fixed timeout is not a measure of customer impact. A sound automatic backout depends on explicit health and failure criteria tied to the change.

Question 375

A database index rebuild could lock billing tables for several minutes. The team wants to limit business interruption while meeting change requirements. What timing control is most appropriate?

  1. Reserve the next available DBA shift regardless of billing volume or downstream dependencies.
  2. Schedule the index rebuild at midnight based on server time without checking regional billing workloads or notifying owners.
  3. Use an off-peak slot identified by IT but skip documented approval because the outage is brief.
  4. Schedule an approved low-impact maintenance window with stakeholder notification.

Explanation

Correct Answer

D:

Aligning disruptive work with business operations reduces exposure and allows rollback and on-call support to be arranged.

Incorrect Answers

A:

Staff availability matters but does not establish that the lock-heavy rebuild has acceptable customer impact. An approved low-impact window should be coordinated with business users.

B:

Midnight on the database may still overlap peak operations elsewhere. Timing should follow an approved business-impact assessment and affected-stakeholder notification.

C:

Off-peak scheduling reduces disruption, but it does not satisfy governance or ensure contingency coverage. Approved maintenance and notice are both required.

Question 376

A service generates long-term encryption keys using predictable timestamps as the random seed. An attacker can estimate when keys were created. Which correction is most important?

  1. Keep the time-derived seed but store it in a nonpublic variable instead of in configuration logs.
  2. Hash the creation timestamp with a secure hash function and use the digest as a long-term key.
  3. Use a cryptographically secure random number generator with sufficient entropy.
  4. Concatenate the timestamp with a fixed machine identifier before using it to seed the key generator.

Explanation

Correct Answer

C:

Predictable key material enables guessing even when the chosen encryption algorithm is mathematically strong.

Incorrect Answers

A:

Obscuring a predictable seed does not make the generated key unpredictable to an attacker who can approximate creation time. Cryptographic entropy must come from a secure random source.

B:

A strong hash does not create entropy absent from its input. An attacker can enumerate likely timestamps and reproduce the same keys.

D:

A fixed device identifier adds no meaningful unpredictable entropy when the attacker knows or can guess it. The key generator needs a cryptographically secure entropy source.

Question 377

A storage administrator’s symmetric data-encryption key is leaked. The ciphertext has not been modified, but attackers could now read records. Which property is most directly threatened?

  1. Availability because backups are always deleted by key leakage.
  2. Confidentiality due to loss of encryption-key secrecy.
  3. Nonrepudiation of signed user approvals.
  4. Integrity solely because two hashes may collide.

Explanation

Correct Answer

B:

Possession of a valid decryption key can reveal previously encrypted information without changing the ciphertext.

Incorrect Answers

A:

A key disclosure does not inherently remove backups or disable the service.

C:

Symmetric data confidentiality and digital-signature attribution are distinct security goals.

D:

A leaked decryption key is not evidence of a hash collision or altered records.

Question 378

A browser must connect to a sensitive customer portal with confidence that the server is the intended organization. A newly deployed host offers a self-signed certificate not installed in the client trust store. What is the appropriate response?

  1. Reject or explicitly validate the untrusted certificate through an approved trust process.
  2. Match the requested hostname against the certificate name but ignore that its issuer is not trusted.
  3. Pin the self-signed certificate observed on the first untrusted network connection without independent verification.
  4. Accept the untrusted certificate solely because its expiry date is in the future and its subject matches the portal.

Explanation

Correct Answer

A:

A certificate outside the trusted chain cannot automatically establish server identity. Administrators should provision a trusted credential rather than bypass validation.

Incorrect Answers

B:

Matching a name is necessary but not proof that the untrusted signer controls the claimed service. The chain or an explicitly authenticated trust decision must be validated.

C:

Trust-on-first-use may be vulnerable to an initial interception. For a sensitive portal, the fingerprint must be authenticated through an approved independent channel before it is trusted.

D:

A valid date and subject string can be self-declared. Without an established trust anchor or independently verified key, the certificate does not establish the server’s identity.

Question 379

A service currently encrypts messages for secrecy but accepts modified ciphertext without checking integrity. Which cryptographic design better protects both properties?

  1. Append a publicly computed SHA-256 digest to each ciphertext and accept matching recomputed digests.
  2. Store a second copy of the ciphertext for byte comparison without using a keyed authentication tag.
  3. Use the existing confidentiality-only encryption mode and require a longer password without authenticating the ciphertext.
  4. Use an authenticated encryption mode with correct nonce and tag handling.

Explanation

Correct Answer

D:

AEAD modes such as AES-GCM provide confidentiality and detect unauthorized ciphertext modification when implemented correctly.

Incorrect Answers

A:

An attacker able to alter ciphertext can also recompute an unkeyed digest. Authenticity needs an authenticated tag, MAC or properly implemented AEAD mode, not a plain checksum.

B:

Two identical copies can confirm storage consistency but not that an attacker has not replaced both with modified ciphertext. Cryptographic authentication is required.

C:

Increasing password or key strength does not detect ciphertext modification. The design must include message integrity and authenticity as a separate cryptographic property.

Question 380

An organization needs to prove that a document was signed while the signer’s certificate was valid, even years after that certificate expires. What additional evidence best supports this?

  1. Record the workstation system clock time in a local audit field when the signer clicks the approval button.
  2. A trustworthy signature timestamp and preserved validation evidence.
  3. Archive the signer certificate chain but not its historical revocation status or trustworthy signing time.
  4. Preserve only the signed document bytes without trustworthy signing-time evidence or archived certificate-validation status.

Explanation

Correct Answer

B:

Trusted timing and certificate-status evidence help distinguish a legitimately earlier signature from an assertion created after credential expiry.

Incorrect Answers

A:

A local timestamp can aid troubleshooting but is not independent trusted proof of when the signature existed. A trustworthy timestamp authority and historical status material provide stronger long-term evidence.

C:

Retaining the chain is necessary for some validation, but without proof of signature time and relevant certificate status the organization cannot reliably establish validity at that moment.

D:

A signature may verify cryptographically today, but proving that the signer was valid at the historical signing time also requires trusted timestamping and relevant chain and revocation evidence. The retained document alone does not establish that chronology.