Skip to content

Commit

Permalink
chore: added security and QA questions (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
lishakothari authored Sep 18, 2023
1 parent dfbc942 commit 980b4c1
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/data/quality-assurance-quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,28 @@ const qualityAssuranceQuiz = [
Explanation:
"The term TDD stands for Test-Driven Development and it is the act of first deciding what you want your program to do (the specifications), formulating a failing test, then writing the code to make that test pass.",
Link: "https://www.freecodecamp.org/news/an-introduction-to-test-driven-development-c4de6dce5c/"
},
{
Question:
"Which testing technique focuses on examining the internal logic and structure of a software application?",
Answer: "White-Box Testing",
Distractor1: "Black-Box Testing",
Distractor2: "Grey-Box Testing",
Distractor3: "User Acceptance Testing",
Explanation:
"White-box testing involves analyzing the internal code, logic, and structure of a software application to ensure thorough coverage of all code paths.",
Link: "https://www.freecodecamp.org/news/4-testing-methods-which-are-mandatory-for-any-software-7731ad194fb3/"
},
{
Question:
"What does SAST stand for in the context of software security testing?",
Answer: "Static Application Security Testing",
Distractor1: "Systematic Application Safety Testing",
Distractor2: "Source Analysis Security Testing",
Distractor3: "Secure Algorithmic Source Testing",
Explanation:
"Static Application Security Testing (SAST) involves analyzing the codebase for security vulnerabilities and violations of security rules, providing insights into potential issues before the final application build.",
Link: "https://www.freecodecamp.org/news/4-testing-methods-which-are-mandatory-for-any-software-7731ad194fb3/"
}
];

Expand Down
11 changes: 11 additions & 0 deletions src/data/security-quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,17 @@ const securityQuiz = [
Explanation:
"A computer worm is a type of malware that duplicates itself and spreads to other computers.",
Link: "https://en.wikipedia.org/wiki/Computer_worm"
},
{
Question:
"Which attack aims to overwhelm a target system or network with a flood of traffic, rendering it inaccessible to legitimate users?",
Answer: "Denial of Service",
Distractor1: "Spear phishing",
Distractor2: "Man in the Middle",
Distractor3: "SQL Injection",
Explanation:
"Denial of Service (DoS) attacks aim to flood the victim servers with fake requests, thus preventing them from serving legitimate users.",
Link: "https://www.freecodecamp.org/news/how-we-handled-a-denial-of-service-attack-a-simple-security-lesson-8cdd542d4def/"
}
];

Expand Down

0 comments on commit 980b4c1

Please sign in to comment.