ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 184 - CV0-004 discussion

Report
Export

A developer at a small startup company deployed some code for a new feature to its public repository. A few days later, a data breach occurred. A security team investigated the incident and found that the database was hacked. Which of the following is the most likely cause of this breach?

A.
Database core dump
Answers
A.
Database core dump
B.
Hard-coded credentials
Answers
B.
Hard-coded credentials
C.
Compromised deployment agent
Answers
C.
Compromised deployment agent
D.
Unpatched web servers
Answers
D.
Unpatched web servers
Suggested answer: B

Explanation:

Hard-coded credentials within code, especially when deployed in a public repository, are a common security vulnerability. If credentials such as passwords or API keys are embedded in the code, anyone with access to the repository can potentially use them to gain unauthorized access to databases or other sensitive resources. This is a likely cause of the data breach in the scenario described.

Reference: CompTIA Security+ Guide to Network Security Fundamentals by Mark Ciampa.

asked 02/10/2024
Perry Schoenmaker
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first