CompTIA Security+ Certification Exam SY0-701 Practice Test 8 Flashcards
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
B) SQLi
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 = ‘’;
B) SELECT * FROM users WHERE userName = ‘Alice’ AND password = ‘’ OR ‘1’ = ‘1’;
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
F) Website executes attacker’s requests
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
Which of the following answers refers to a type of software embedded into a hardware chip?
A) Firmware
B) Middleware
Device driver
Machine code
A) Firmware
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
A) EOL
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
B) Lack of security updates and patches
The term “VM escape” refers to the process of breaking out of the boundaries of a guest operating system installation to access the primary hypervisor controlling all the virtual machines on the host machine.
A) True
B) False
A) True
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
A) Resource reuse
Which of the answers listed below refers to a cloud-related vulnerability type?
A) Insecure APIs
B) Poor access controls
C) Lack of security updates
D) Misconfigured cloud storage
E) Shadow IT / Malicious insiders
F) All of the above
F) All of the above
The practice of installing mobile apps from websites and app stores other than the official marketplaces is referred to as:
A) Jailbreaking
B) Rooting
C) Sideloading
D) Carrier unlocking
C) Sideloading
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
D) Jailbreaking
The term “Rooting” refers to the capability of gaining administrative access to the operating system and system applications on:
A) Android devices
B) iOS devices
C) Microsoft devices
D) All types of mobile devices
A) Android devices
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
C) Zero-day attack
Malware that restricts access to a computer system by encrypting files or locking the entire system down until the user performs requested action is called:
A) Grayware
B) Adware
C) Ransomware
D) Spyware
C) Ransomware
A Trojan horse is a type of software that performs harmful actions under the guise of a legitimate and useful program. The most characteristic feature of Trojan horse is that while it may function as a legitimate program and possess all the expected functionalities, it also contains a concealed portion of malicious code that the user is unaware of.
A) True
B) False
A) True