exam questions

Exam CAS-004 All Questions

View all questions & answers for the CAS-004 exam

Exam CAS-004 topic 1 question 536 discussion

Actual exam question from CompTIA's CAS-004
Question #: 536
Topic #: 1
[All CAS-004 Questions]

During the development process, the team identifies major components that need to be rewritten. As a result, the company hires a security consultant to help address major process issues. Which of the following should the consultant recommend to best prevent these issues from reoccurring in the future?

  • A. Implementing a static analysis tool within the CI/CD system
  • B. Configuring a dynamic application security testing tool
  • C. Performing software composition analysis on all third-party components
  • D. Utilizing a risk-based threat modeling approach on new projects
  • E. Setting up an interactive application security testing tool
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Bright07
2 weeks, 4 days ago
Selected Answer: A
Sorry, I change my answer to A. Static analysis tools are designed to analyze source code or binaries for vulnerabilities without executing the program. By integrating a static analysis tool into the Continuous Integration/Continuous Deployment (CI/CD) pipeline, the team can automatically detect issues early in the development process, before they become larger problems. This helps identify security flaws, code quality issues, or areas that need rewriting, enabling the team to address them during development rather than after the fact. Key benefits of implementing static analysis in the CI/CD pipeline: Early detection of vulnerabilities or issues during the development process, allowing for immediate remediation. Automation that ensures that security checks are part of the regular development cycle, preventing security and process issues from going undetected. Consistency in security practices, as static analysis can be run automatically on every code commit, providing ongoing feedback to developers.
upvoted 1 times
...
grelaman
2 months ago
Selected Answer: D
The need to rewrite major components suggests fundamental issues in the design or architecture of the application. These issues are likely due to inadequate early-stage planning regarding security threats and risks. Implementing practices that identify and mitigate risks early in the development lifecycle can prevent significant rework later on. By applying threat modeling at the design phase, potential security issues can be identified before coding begins. This proactive approach reduces the likelihood of needing to rewrite major components later due to security flaws.
upvoted 1 times
...
Bright07
3 months, 1 week ago
Ans. D. To best prevent major process issues from reoccurring in the future, the consultant should recommend utilizing a risk-based threat modeling approach on new projects. Risk-based threat modeling helps identify potential security vulnerabilities early in the development process by assessing risks associated with the design and architecture of the application. This proactive approach allows teams to address security concerns before they manifest as major issues. While implementing a static analysis tool within the CI/CD system can catch coding issues before deployment, but if the underlying processes and designs are flawed, it might not be sufficient to prevent recurrence.
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago