Skip to main content

DVA-C02 practice question · Deployment

A team wants their internal Node.js library packages, shared across several projects, hosted privately with versioning…

A team wants their internal Node.js library packages, shared across several projects, hosted privately with versioning and integrated permissions, similar to a private npm registry. Which AWS service fits?

  • AAWS CodeArtifact
  • BAmazon ECR
  • CAWS CodeBuild alone, with no separate artifact store
  • DAmazon S3 with no additional package-management tooling
Show the answer and explanation

Correct answer: A) AWS CodeArtifact

Why each option is right or wrong

  • A) Correct. CodeArtifact is a managed artifact repository supporting package formats like npm, PyPI, and Maven, letting teams host and version private packages with IAM-integrated access control, similar to a private npm registry.
  • B) Incorrect. ECR stores container images, not language-specific package artifacts like npm packages.
  • C) Incorrect. CodeBuild runs build steps; it isn't itself a persistent, versioned package repository the way CodeArtifact is.
  • D) Incorrect. While packages could technically be stored as raw S3 objects, that lacks the package-registry semantics (versioning, dependency resolution, tool integration) CodeArtifact purpose-builds for this use case.
Exam domain
Deployment · 24% of DVA-C02
Question type
Multiple choice (one answer)

Practise the full DVA-C02 exam

This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.

Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.