wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CompTIA Security+ SY0-701 Practice Test 8 By Mr. B

Total questions: 25

Worksheet time: 25mins

Name
Class
Date
1.

Which of the answers listed below refers to a security vulnerability that enables inserting malicious code into input fields, such as search bars or login forms, to execute unauthorized commands on a database?

a)

RCE

b)

SQLi

c)

XSS

d)

CSRF

2.

Which of the following indicates an SQL injection attack attempt?

a)

DELETE FROM itemDB WHERE itemID = '1';

b)

SELECT * FROM users WHERE userName = 'Alice' AND password = '' OR '1' = '1';

c)

DROP TABLE itemDB;

d)

SELECT * FROM users WHERE email = 'example@example.com' AND password = '';

3.

Which of the answers listed below describe the characteristics of a cross-site scripting attack? (Select 3 answers)

a)

Exploits the trust a user's web browser has in a website

b)

A malicious script is injected into a trusted website

c)

User's browser executes attacker's script

d)

Exploits the trust a website has in the user's web browser

e)

A user is tricked by an attacker into submitting unauthorized web requests

4.

Which of the following answers refers to a type of software embedded into a hardware chip?

a)

Firmware

b)

Middleware

c)

Device driver

d)

Machine code

5.

Which of the terms listed below refers to a situation in which a product or service may no longer receive security patches or other updates, making it more vulnerable to attack?

a)

EOL

b)

ALM

c)

EOS

d)

SDLC

6.

What is the main vulnerability related to legacy hardware?

a)

Compatibility issues

b)

Lack of security updates and patches

c)

Worn-out physical components

d)

Lack of skilled personnel to run it and maintain it

7.

Which of the following answers refers to a virtualization-related vulnerability where virtualized assets allocated to one VM are improperly isolated and can be accessed or compromised by another VM?

a)

Resource reuse

b)

Privilege escalation

c)

Resource exhaustion

d)

Concurrent session usage

8.

Which of the following terms is used to describe the process of removing software restrictions imposed by Apple on its iOS operating system?

a)

Sideloading

b)

Carrier unlocking

c)

Rooting

d)

Jailbreaking

9.

A type of attack aimed at exploiting vulnerability that is present in already released software but unknown to the software developer is known as:

a)

On-path attack

b)

IV attack

c)

Zero-day attack

d)

Replay attack

10.

Which type of Trojan enables unauthorized remote access to a compromised system?

a)

APT

b)

RAT

c)

MaaS

d)

PUP

11.

A standalone malicious computer program that typically propagates itself over a computer network to adversely affect system resources and network bandwidth is referred to as:

a)

Worm

b)

Fileless virus

c)

Bot

d)

Logic bomb

12.

Which of the answers listed below refer to the characteristic features of bloatware? (Select 3 answers)

a)

Pre-installed on a device by the device manufacturer or retailer

b)

Generally considered undesirable due to negative impact on system performance

c)

Installed without user consent

d)

Can be pre-installed, downloaded, or bundled with other software

e)

Generally considered undesirable due to negative impact on system performance, privacy, and security

13.

Malicious code activated by a specific event is called:

a)

Cryptomalware

b)

Backdoor

c)

Rootkit

d)

Logic bomb

14.

Which of the following answers refers to a collection of software tools used by a hacker to mask intrusion and obtain administrator-level access to a computer or computer network?

a)

Rootkit

b)

Spyware

c)

Backdoor

d)

Trojan

15.

The term "RFID cloning" refers to copying the data stored on any RFID-enabled device (including tags, cards, key fobs, implants, and other objects embedded with RFID technology) onto another RFID-enabled device, which then can be read and used in the same way as the original tag. While RFID cloning can be utilized for legitimate purposes, such as replicating important tags for backup and testing purposes, it also poses significant security risk, as duplicate tags can potentially be used for gaining unauthorized access or unauthorized information disclosure.

a)

True

b)

False

16.

What is Blind SQL Injection?

a)

A method where the attacker can see the data directly

b)

A type of injection where results are inferred from responses

c)

A technique that reveals the entire database

d)

A fully secure database practice

17.

What would be the result of the SQL query if the password input is '' or '1'='1'?

a)

Returns only the matching user rows

b)

Returns the whole table

c)

Returns an error

d)

Returns no rows

18.

A cybersecurity analyst is reviewing the logs of a proxy server and saw the following URLs:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

https://test.diontraining.com/profi le.php?userid=1546

https://test.diontraining.com/profi le.php?userid=5482

https://test.diontraining.com/profi le.php?userid=3618

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

What type of vulnerability does this website have?

a)

Improper error handling

b)

Insecure direct object reference

c)

Race condition

d)

Weak or default configurations

19.

The ​ (a)   is the software that controls the communication between the ​ (b)   and the physical host.

Choose from the below words

hypervisor

VM (virtual machine)

Operating System

Wifi

networks

Vending machines

20.

Which malware focuses on tracking user activities and collecting personal information?

a)

Grayware

b)

Keylogger

c)

Rootkit

d)

Ransomware

21.

  1. https is port?

a)

80

b)

443

c)

22

d)

20

22.

Which of the following is more secure and checks the submitted data to ensure its validity?

a)

Browser-side validation

b)

Server-side validation

c)

Client-side validation

d)

Database-side validation

23.

What vulnerability is exploited in a Cross-Site Scripting attack?

a)

Unexpected Action

b)

Memory Leak

c)

Buffer Overflow

d)

Race Condition

24.

A cybersecurity analyst is reviewing the logs of a proxy server and saw the following URLs:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

https://test.diontraining.com/profi le.php?userid=1546

https://test.diontraining.com/profi le.php?userid=5482

https://test.diontraining.com/profi le.php?userid=3618

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

What type of vulnerability does this website have?

a)

Improper error handling

b)

Insecure direct object reference

c)

Race condition

d)

Weak or default configurations

25.

When a business creates virtual machines and forgets or ignores them.

It's briefly describes as: ​ (a)  

Choose from the below words

VM sprawl

Virtual Monitors

non-virtualized environments

managed VM