Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        Security+ practice questions, set 5

        16 Security+ questions at the real exam's pace: 16 min on the clock, or none if you want to study. Target: 12 correct.

        A server rack, a padlock and a network diagram for Security+ practice.
        Questions
        16
        Time
        16 min
        To pass
        12 (75%)
        Part
        Security+ SY0-701
        Mode
        Timed or untimed
        Access
        Exam pass

        The practice test needs JavaScript. These are its questions:

        Sign-in log excerpt

        A company's identity provider exported these sign-in events for review. All times are UTC on the same day. From 02:10 to 02:58, source address 198.51.100.23 (geolocated to the Netherlands) made 412 failed sign-in attempts, each against a different user name (ahmed.k at 02:10:05, b.lopez at 02:10:09, c.nguyen at 02:10:14, and so on), with one attempt per account and no account locked out. The lockout policy locks an account after 5 failed attempts in 15 minutes. At 02:58:41 the account r.osei signed in successfully from 198.51.100.23 (Netherlands). At 03:20:12 the same account signed in successfully from 203.0.113.77 (geolocated to Singapore). The previous sign-in for r.osei, at 17:45 the day before, came from the head office in Toronto.

        Perimeter firewall rule set

        A company's perimeter firewall checks inbound rules from the top down. The first rule that matches a packet decides what happens to it, and later rules are not checked. A packet that matches no rule is denied. The web server is 192.0.2.10 and the mail relay is 192.0.2.25, both in the screened subnet. The rules, in order, are: Rule 1: ALLOW TCP from any source to 192.0.2.10 port 443. Rule 2: DENY all traffic from 203.0.113.0/24 to any destination. Rule 3: ALLOW TCP from any source to 192.0.2.25 port 25. Rule 4: ALLOW TCP from 198.51.100.40 to 192.0.2.10 port 22. Rule 5: DENY all traffic from any source to any destination.

        1. A security team plants a fake cloud access key, which no system or employee ever uses, inside a configuration file in an internal code repository. Any attempt to use that key raises an alert. What is the planted key?

          1. A honeytoken
          2. A honeynet
          3. A full honeypot server
          4. A honeyfile
        2. A company installs a certificate whose only DNS name is *.shop.example on its web servers. Under the RFC 9525 matching rules, which host name will the certificate be valid for?

          1. www.shop.example
          2. shop.example
          3. pay.eu.shop.example
          4. cdn.example
        3. Several employees get a text message that claims to come from the company's payroll provider and asks them to tap a link to confirm their bank details. Which attack vector is this?

          1. Vishing
          2. Watering hole attack
          3. Smishing
          4. Business email compromise
        4. An attacker posts a product review that contains a script. The site saves the review in its database, and the script runs in the browser of every customer who later opens that product page. What vulnerability is this?

          1. Stored cross-site scripting
          2. Reflected cross-site scripting
          3. SQL injection
          4. Directory traversal
        5. A hospital wants its nurses' station PCs to run only the approved clinical applications, so that malware or unapproved programs cannot start even if a user downloads them. Which mitigation does this most directly?

          1. A host-based firewall
          2. Full-disk encryption
          3. An application allow list
          4. Data loss prevention on the PCs
        6. Which attack do the failed sign-ins between 02:10 and 02:58 show?

          1. A brute-force attack against one account
          2. Password spraying across many accounts
          3. Replay of a captured session token
          4. A denial-of-service attack on the identity provider
        7. What does the pair of successful r.osei sign-ins at 02:58 and 03:20 indicate?

          1. Impossible travel
          2. Out-of-cycle logging
          3. Resource consumption
          4. Blocked content
        8. The team confirms that r.osei's account is compromised. What should the incident response team do next?

          1. Reimage every workstation in the head office
          2. Write the lessons-learned report for management
          3. Disable the account and end its sessions
          4. Wait to see what data the attacker downloads
        9. A company turns on 802.1X port-based authentication on its switches. When a laptop plugs in, a RADIUS server checks its credentials before the switch port allows normal traffic. What role does the switch play?

          1. Supplicant
          2. Authenticator
          3. Authentication server
          4. Identity provider
        10. A data center's UPS units can carry the servers for about 15 minutes. Management wants the site to keep running through a power cut that could last two days. What should be added?

          1. A diesel or gas generator
          2. More UPS battery modules
          3. A second internet link
          4. RAID 1 mirroring on the servers
        11. A host at 203.0.113.50 sends HTTPS (TCP 443) to the web server at 192.0.2.10. What happens to the traffic?

          1. It is allowed by rule 1
          2. It is denied by rule 2
          3. It is denied by rule 5
          4. It is denied because nothing matches
        12. The team wants to block everything from the hostile range 203.0.113.0/24, including HTTPS to the web server, without affecting anyone else. What is the simplest change?

          1. Delete rule 5
          2. Change rule 1 from ALLOW to DENY
          3. Move rule 2 above rule 1
          4. Add a new deny for the range below rule 5
        13. Before new employees get network access, they must read and sign a document that says what they may and may not do with company computers, email and internet access. What is this document?

          1. An acceptable use policy
          2. A business continuity plan
          3. A service-level agreement
          4. An incident response playbook
        14. The business impact analysis says the order system may lose no more than four hours of transactions after an outage. Which metric does this set?

          1. Recovery time objective (RTO)
          2. Recovery point objective (RPO)
          3. Maximum tolerable downtime (MTD)
          4. Mean time to recover (MTTR)
        15. A customer in the EU closes her account and asks the company to delete all of her personal data, which it no longer needs for the purpose it was collected for. Which GDPR right is she using?

          1. The right to data portability
          2. The right to object to profiling
          3. The right of access
          4. The right to erasure
        16. An employee finds a USB drive labeled 'Salary review 2027' in the office parking lot. What should security awareness training tell her to do?

          1. Plug it into a spare offline PC to find the owner
          2. Plug it in, but turn off autorun first
          3. Throw it away so no one else finds it
          4. Give it to IT or security without plugging it in

        What this set covers

        • 1.2 Security concepts1 questions
        • 1.4 Cryptographic solutions1 questions
        • 2.2 Threat vectors1 questions
        • 2.3 Vulnerabilities1 questions
        • 2.5 Mitigation techniques1 questions
        • 2.4 Indicators of malicious activity2 questions
        • 4.8 Incident response1 questions
        • 3.2 Secure infrastructure1 questions
        • 3.4 Resilience and recovery1 questions
        • 4.5 Enterprise security capabilities2 questions
        • 5.1 Security governance1 questions
        • 5.2 Risk management1 questions
        • 5.4 Security compliance1 questions
        • 5.6 Security awareness1 questions

        Next: Security+ practice test

        More practice for this exam

        1. Security+ SY0-701, set 116 questions · 16 min
        2. Security+ SY0-701, set 216 questions · 16 min
        3. Security+ SY0-701, set 316 questions · 16 min
        4. Security+ SY0-701, set 416 questions · 16 min
        5. Security+ practice test60 questions · 1 h

        All practice for the CompTIA Security+

        Independent practice. The Work Gym isn't affiliated with CompTIA, and these aren't official CompTIA questions. CompTIA Security+® is a registered trademark of CompTIA, Inc.

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.