Security Operations

What is the main purpose of automated testing in a continuous integration pipeline?

Show the answer

Correct answerB. Check each code change for defects as it is merged

AWhy not this: Escalation routes incidents to people; it is unrelated to testing code changes.

BWhy this is right: Automated tests run on each merge, catching defects and security flaws early in development.

CWhy not this: Removing unused services is hardening of servers, not testing of code during integration.

DWhy not this: Granting production access is access management and is not what a CI pipeline's tests do.

Continuous integration merges code often and runs automated tests on every change, so defects and security flaws are found early. Disabling services is a hardening task, not a code-testing one.