DOP-C02 exam dumps

DOP-C02 practice question 40 of 411

AWS Certified DevOps Engineer - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

DOP-C02 Question 40

Single answer

Your organization uses AWS CodePipeline for CI/CD, and you are responsible for automating the build and management of application artifacts. You are tasked with ensuring that build artifacts are securely stored, versioned, and easily accessible for deployments across multiple environments. Which service and configuration would best meet these requirements?

  1. A

    Store build artifacts in an S3 bucket with versioning enabled and apply IAM policies for access control.

  2. B

    Use AWS CodeArtifact to store and manage build artifacts, ensuring secure access via repository policies.

  3. C

    Store build artifacts in AWS EFS to ensure scalability and file-level access control.

  4. D

    Use AWS DynamoDB to store and version build artifacts, leveraging fine-grained access control.

Show answer and explanation

Correct answer: A

Explanation

Amazon S3 with versioning is the most appropriate choice for securely storing, versioning, and managing build artifacts in AWS. It is highly scalable, cost-effective, and integrates well with other AWS services like CodePipeline and CodeBuild. Enabling versioning ensures that all artifact versions are retained and recoverable, and IAM policies provide fine-grained access control to meet security requirements.

  • A. Correct.

    Storing build artifacts in an S3 bucket with versioning enabled is a best practice for managing artifacts in AWS. S3 provides secure, scalable, and cost-effective storage, and versioning ensures that you can track changes and revert to previous versions if needed.

  • B. Incorrect.

    AWS CodeArtifact is primarily designed for managing software packages (e.g., Maven, npm) rather than build artifacts. While it provides secure access, it is not optimized for storing general build artifacts.

  • C. Incorrect.

    AWS EFS is a shared file system designed for use cases requiring file-level access. It is not an ideal solution for storing and managing application build artifacts due to its higher cost and complexity compared to S3.

  • D. Incorrect.

    AWS DynamoDB is a NoSQL database service and is not suited for storing build artifacts. It is designed for key-value and document-based data storage, not binary files or versioned artifacts.

Timed practice exam

Take a DOP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam