ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 35 - DOP-C02 discussion

Report
Export

A company has containerized all of its in-house quality control applications. The company is running Jenkins on Amazon EC2 instances, which require patching and upgrading. The compliance officer has requested a DevOps engineer begin encrypting build artifacts since they contain company intellectual property.

What should the DevOps engineer do to accomplish this in the MOST maintainable manner?

A.
Automate patching and upgrading using AWS Systems Manager on EC2 instances and encrypt Amazon EBS volumes by default.
Answers
A.
Automate patching and upgrading using AWS Systems Manager on EC2 instances and encrypt Amazon EBS volumes by default.
B.
Deploy Jenkins to an Amazon ECS cluster and copy build artifacts to an Amazon S3 bucket with default encryption enabled.
Answers
B.
Deploy Jenkins to an Amazon ECS cluster and copy build artifacts to an Amazon S3 bucket with default encryption enabled.
C.
Leverage AWS CodePipeline with a build action and encrypt the artifacts using AWS Secrets Manager.
Answers
C.
Leverage AWS CodePipeline with a build action and encrypt the artifacts using AWS Secrets Manager.
D.
Use AWS CodeBuild with artifact encryption to replace the Jenkins instance running on EC2 instances.
Answers
D.
Use AWS CodeBuild with artifact encryption to replace the Jenkins instance running on EC2 instances.
Suggested answer: D

Explanation:

The following are the steps involved in accomplishing this in the most maintainable manner:

Use AWS CodeBuild with artifact encryption to replace the Jenkins instance running on EC2 instances.

Configure CodeBuild to encrypt the build artifacts using AWS Secrets Manager.

Deploy the containerized quality control applications to CodeBuild.

This approach is the most maintainable because it eliminates the need to manage Jenkins on EC2 instances. CodeBuild is a managed service, so the DevOps engineer does not need to worry about patching or upgrading the service.

https://docs.aws.amazon.com/codebuild/latest/userguide/security-encryption.html Build artifact encryption - CodeBuild requires access to an AWS KMS CMK in order to encrypt its build output artifacts. By default, CodeBuild uses an AWS Key Management Service CMK for Amazon S3 in your AWS account. If you do not want to use this CMK, you must create and configure a customer-managed CMK. For more information Creating keys.

asked 16/09/2024
Sathish M
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first