Question 510
During an operational security assessment at a public-sector technology agency, the team documents this issue: Deployment fails in a hybrid environment because DNS resolution differs between hosted and private agents. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Choose TWO statements that provide both the appropriate correction and a meaningful test of its success. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Place approved private-network agents or runners where they can securely reach required internal services, with firewall rules and identity restrictions. The action targets the recorded failure (Deployment fails in a hybrid environment because DNS resolution differs between hosted and private agents), and is intended to reduce the corresponding risk: Hosted agents cannot reliably reach private endpoints and ad hoc network exceptions increase attack surface.
Correct verification. A job on the approved network-reachable agent can reach only authorized private dependencies and completes the deployment with recorded identity. The measurement or controlled test provides evidence for the issue (Deployment fails in a hybrid environment because DNS resolution differs between hosted and private agents) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
The same digest moves from a green build through staging to a protected production environment with recorded approval. This does not supply the required hybrid agent networking and private endpoints action-and-control pair.
Use explicit branch and path trigger filters with tested PR triggers so only relevant changes run the intended pipeline actions. The paired controls concern hybrid agent networking and private endpoints, not that measure.
Centralize versioned YAML templates for mandatory security and build steps, and require tested template adoption for dependent pipelines. The two-part hybrid agent networking and private endpoints control remains unsatisfied.