A team must quarantine a CodeArtifact package version so that neither dependency resolution nor requests for its exact version can download it, while retaining its assets for possible restoration. After the investigation, the team must either restore downloads or permanently remove the assets while retaining the version record; which lifecycle sequence meets these requirements?
Show the answer
Correct answerA. Archive the version, then change its status back to Published or to Disposed.
AWhy this is right: Archiving blocks downloads reversibly; changing the status back to Published restores downloads, while Disposed removes the assets and keeps the record.
BWhy not this: Disposal removes the assets permanently, so a later status change cannot make the original package downloadable again.
CWhy not this: Deletion removes the version and its assets, so there is no quarantined version left to restore or dispose of.
DWhy not this: Unlisted versions can still be downloaded by exact version, and deletion removes the version record.
Archived versions keep their assets but cannot be downloaded; their status can later be changed back to Published, or to Disposed. Disposal permanently removes assets while keeping the version record. Unlisted versions can still be downloaded when their exact version is requested.