MLA-C01 Question 330
Select 2A machine learning team is using AWS CodePipeline, AWS CodeBuild, and AWS CodeDeploy to automate their CI/CD workflow for deploying a model training application. The team notices that their pipeline fails intermittently due to a high volume of concurrent builds and deployments. They want to troubleshoot the issue and ensure their pipeline can handle their workload effectively. Which of the following actions will help the team address the problem?
- A
Verify that the number of concurrent builds does not exceed the default AWS CodeBuild service quota.
- B
Increase the number of parallel actions allowed in AWS CodePipeline by adjusting its service quota.
- C
Check if the deployment limit for AWS CodeDeploy exceeds the current application deployment needs.
- D
Upgrade the compute type for AWS CodeBuild to handle higher performance requirements.
- E
Enable cross-region actions in AWS CodePipeline to distribute pipeline load.
Show answer and explanation
Correct answers: A, C
Explanation
The issue described in the scenario relates to service quotas and concurrency limits. AWS CodeBuild enforces default quotas on concurrent builds, which may need to be reviewed and increased if the pipeline workload exceeds the limit. Similarly, AWS CodeDeploy enforces quotas for concurrent deployments, which should align with the application's deployment requirements. These actions address the root cause of the intermittent pipeline failures.
- A. Correct.
AWS CodeBuild has default quotas for concurrent builds. If the pipeline exceeds this quota, builds will fail. Verifying and potentially requesting a quota increase can resolve this issue.
- B. Incorrect.
AWS CodePipeline does not have a configurable quota for the number of parallel actions. This is managed internally, so this option is incorrect.
- C. Correct.
AWS CodeDeploy has quotas for deployment configurations, such as the number of concurrent deployments. Ensuring these limits align with the current application deployment needs can help prevent failures.
- D. Incorrect.
Upgrading the compute type in AWS CodeBuild increases processing power but does not address issues related to service quotas or concurrency limits.
- E. Incorrect.
Enabling cross-region actions distributes actions geographically but does not address the root cause of concurrent build or deployment failures.