CS FundamentalsHardProduct-company DevSecOps interview
Which pairing of security testing approaches is correct?
- A. SAST tests the running application from outside; DAST reads the source code
- B. SAST finds only performance issues
- C. Both need the application deployed to production
- D. SAST analyses source or bytecode without running it, early in the pipeline; DAST attacks the running application, finding runtime and configuration issues
Correct answer: D. SAST analyses source or bytecode without running it, early in the pipeline; DAST attacks the running application, finding runtime and configuration issues
Static analysis (SAST) scans code paths for patterns like SQL injection before deployment; dynamic testing (DAST) probes a running instance, catching issues such as misconfigured headers that code scanning misses.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A team uses Terraform. Someone changes a security-group rule by hand in the cloud console. What is this called, and what happens at the…
- How many of these are among the four DORA key metrics of software delivery performance: (1) deployment frequency, (2) lead time for…
- A blue-green deployment keeps two identical production environments and switches the router from blue (old) to green (new). Which…
- A database server is upgraded from 8 to 32 vCPUs to handle more load, while a stateless web tier grows from 4 to 12 identical instances…
- A product page is served using cache-aside with a 10-minute TTL. An admin updates a price in the database, and for several minutes some…
- A service spreads 6 instances across 3 availability zones in one region (2 per zone) and needs at least 4 instances running to handle peak…