Question 580
At Oakmont Media Group, an authorized AWS machine learning engineering team encounters this operational case: an inference adapter stores a database password in its container image and breaks after rotation while the old secret stays in image history. The team must make a technically supported choice within its MLA-C01 machine learning workload. Which ongoing review addresses this source of ML pipeline failure?
Explanation
Correct Answer
Keep long-lived secrets outside source code and container layers. This recurring safeguard is tied to secrets manager runtime credential rotation, because secrets embedded at image build time can persist beyond rotation and expose credentials in artifact layers. The corresponding corrective action remains to retrieve approved credentials through Secrets Manager or an appropriate controlled runtime secret path.
Incorrect Answers
The alternate safeguard protects a separate dependency: IAM authorization cannot fix a missing network path from isolated subnets to an AWS service. For this failure the continuing exposure is: Secrets embedded at image build time can persist beyond rotation and expose credentials in artifact layers. Maintain “Keep long-lived secrets outside source code and container layers” instead.
That review tracks a separate failure mechanism: Provisioned hosting charges can continue while requests are absent. The question requires sustained control over: Secrets embedded at image build time can persist beyond rotation and expose credentials in artifact layers. The corresponding safeguard is “Keep long-lived secrets outside source code and container layers”.
“Make ownership and environment tags required during resource creation” is a sensible check for: Untagged shared infrastructure prevents reliable cost attribution by application or owner. It is not the prevention measure for the current dependency: Secrets embedded at image build time can persist beyond rotation and expose credentials in artifact layers. The closer guardrail is “Keep long-lived secrets outside source code and container layers”.