Skip to main content

Questions 21 - 40

Q21 A company is tired of maintaining the servers (EC2) that run their build tool (Jenkins). They also need to encrypt their software files (artifacts) for security. What is the lowest maintenance way to fix both problems?

A: Keep the servers, but use automation tools to patch them and encrypt the hard drives. (Too much maintenance; you still own the servers).

B: Move Jenkins into a container cluster (ECS) and save encrypted files to S3. (Medium maintenance; you still have to manage the Jenkins software).

C: Use CodePipeline, but try to use "Secrets Manager" to encrypt the files. (Incorrect; Secrets Manager is for passwords, not for file storage).

D: Correct. Replace Jenkins with AWS CodeBuild. It is "Serverless" (AWS manages the updates) and handles encryption automatically.