exam questions

Exam CS0-002 All Questions

View all questions & answers for the CS0-002 exam

Exam CS0-002 topic 1 question 133 discussion

Actual exam question from CompTIA's CS0-002
Question #: 133
Topic #: 1
[All CS0-002 Questions]

An organization is developing software to match customers' expectations. Before the software goes into production, it must meet the following quality assurance guidelines:
Uncover all the software vulnerabilities.

✑ Safeguard the interest of the software's end users.
✑ Reduce the likelihood that a defective program will enter production.
✑ Preserve the interests of the software producer.
Which of the following should be performed FIRST?

  • A. Run source code against the latest OWASP vulnerabilities.
  • B. Document the life-cycle changes that took place.
  • C. Ensure verification and validation took place during each phase.
  • D. Store the source code in a software escrow.
  • E. Conduct a static analysis of the code.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
RobV
1 year, 6 months ago
Selected Answer: C
C. Ensure verification and validation took place during each phase. The FIRST step in ensuring software quality and addressing the specified guidelines is typically related to the software development process and verification/validation. Among the given options, option C, "Ensure verification and validation took place during each phase," is the most appropriate initial step.
upvoted 1 times
...
skibby16
1 year, 7 months ago
Selected Answer: C
Ensuring verification and validation take place during each phase of the software development life cycle is a fundamental step in meeting quality assurance guidelines. Verification involves checking whether the product design and implementation align with the specified requirements, while validation ensures that the final product meets the intended use and satisfies customer needs. By incorporating these practices throughout the development process, the organization can uncover vulnerabilities, safeguard end-users' interests, reduce the likelihood of defects, and preserve the interests of the software producer. This approach helps maintain the overall quality and reliability of the software.
upvoted 1 times
...
naleenh
1 year, 10 months ago
Selected Answer: E
It asks what to perform first. Since C is to be performed at each phase, E would be the valid answer.
upvoted 2 times
...
Big_Dre
1 year, 10 months ago
Selected Answer: C
i believe c because even E can be done in C meaning E is a child of C
upvoted 1 times
...
salmonIsDecent
1 year, 11 months ago
Selected Answer: C
The answer is: C. Ensure verification and validation took place during each phase. Verification and validation are essential steps in the software development life cycle to ensure that the software meets the specified requirements and is free from defects. By conducting verification and validation during each phase of the development process, the organization can identify and address issues early on, reducing the likelihood of defective code entering production.
upvoted 2 times
...
Aliyan
1 year, 11 months ago
Selected Answer: C
"must meet the following quality assurance guidelines" searching COMPTIA CYSA Guide for Quality Control (QC) and Quality Assurance (QA) first big title came across was "Verification and Validation (V&V)" the whole QA Unit doesnt talk about static code analysis at all. Im %100 sure this is C
upvoted 3 times
...
heinzelrumpel
1 year, 11 months ago
Selected Answer: C
E is just one step in the chain of maintaining a secure coding environment. C covers more
upvoted 1 times
...
Rori791
1 year, 11 months ago
Selected Answer: E
Answer is E. It is better to perform a static analysis of the code before ensuring verification and validation took place during each phase. The reason for this is that a static analysis of the code can help you identify potential issues such as security vulnerabilities, coding errors, and other defects, which can then be addressed before proceeding with further testing and validation. This can help reduce the likelihood of defective code entering production, which is one of the guidelines listed. After conducting a static analysis, it is then important to ensure that verification and validation took place during each phase of the software development life cycle. This can help ensure that the software meets the desired requirements and that any defects or issues are identified and addressed before the software is released to end-users. E then C
upvoted 1 times
...
HotWings8
1 year, 11 months ago
I vote C: Verification - A compliance-testing process to ensure that the security system meets the requirements of a framework or regulatory environment, or that a product or system meets its design goals Validation - The process of determining whether the security system is fit for purpose. Fit for purpose, in the ITIL framework, is known as utility (meets the designed needs of the software or service Jason Dion
upvoted 1 times
...
justauser
2 years ago
Selected Answer: E
GPT-4 calibrated to CS0-002 with community votes included in the prompt: Answer: E. Explanation: The FIRST task that should be done, according to the guidelines provided, is to uncover all the software vulnerabilities. Static code analysis (Option E) allows you to inspect the code without executing it, providing a mechanism for detecting vulnerabilities, bugs, and other issues. This method is a key practice in secure development lifecycle processes and directly meets the first guideline. [Option C, while important in every phase of software development, does not directly uncover vulnerabilities. It's rather a process-oriented task which ensures the requirements are met and the product satisfies users' needs. While Option A can help identify vulnerabilities, it wouldn't uncover ALL vulnerabilities as it's specifically targeted towards OWASP classified vulnerabilities. Options B and D don't directly address the need to uncover vulnerabilities.]
upvoted 1 times
...
tutita
2 years ago
Selected Answer: E
Its a tricky question, I have read couple of times back and forward C sounds good but "ensure" that it took place sounds not right, they asking for what action to take first, for me answer is E perform an static code review, that's the best action you can take.
upvoted 1 times
...
kiduuu
2 years, 2 months ago
Selected Answer: C
Ensuring verification and validation took place during each phase of the software development life cycle will help identify and address any defects or vulnerabilities in the software before it goes into production. This step will help meet guidelines 1 and 2 and reduce the likelihood of defective software entering production.
upvoted 1 times
...
[Removed]
2 years, 2 months ago
Selected Answer: C
At first I thought it was E, but when looking back at the requirements: - safeguard interests of end users - preserve interests of software producer I decided C is more correct in alignment with yanyan20's and Sam_0735's answers
upvoted 1 times
...
yanyan20
2 years, 2 months ago
Selected Answer: C
Before anything else, it is important to ensure that verification and validation took place during each phase of the software development life cycle. This is because the earlier a vulnerability is detected, the easier and cheaper it is to fix. By verifying and validating the software at every phase, any vulnerabilities can be identified and addressed before the software enters production, reducing the likelihood that a defective program will be released. Running the source code against the latest OWASP vulnerabilities and conducting a static analysis of the code are important steps in identifying vulnerabilities, but they should be done after verification and validation have taken place. Documenting life-cycle changes and storing the source code in a software escrow are also important, but they are not directly related to ensuring the quality of the software.
upvoted 1 times
...
HereToStudy
2 years, 2 months ago
Selected Answer: C
Conducting a static analysis of the code is an important step in ensuring software quality, but it should not be the first step. Before conducting a static analysis, it is crucial to ensure that verification and validation have taken place during each phase of software development to identify and address any defects or issues.
upvoted 1 times
HereToStudy
2 years, 2 months ago
After reviewing my answer I think E is actually correct. My apologies
upvoted 1 times
...
...
2Fish
2 years, 3 months ago
Selected Answer: C
C. It meets all requirements, but "safe guarding ... end users" interests is the key.
upvoted 1 times
2Fish
2 years, 3 months ago
after reviewing again.. I think I will need to go with E.
upvoted 1 times
...
...
talosDevbot
2 years, 4 months ago
Selected Answer: C
Before developing code, you should ensure security is integrated into the CI/CD pipeline. This is part of DevSecOps. With this implemented, security checks will take places in between stages of the SDLC. C is a better answer since you would typically set a CI/CD pipeline before performing static analysis of code
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...