ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 219 - DOP-C02 discussion

Report
Export

A company has set up AWS CodeArtifact repositories with public upstream repositories The company's development team consumes open source dependencies from the repositories in the company's internal network.

The company's security team recently discovered a critical vulnerability in the most recent version of a package that the development team consumes. The security team has produced a patched version to fix the vulnerability. The company needs to prevent the vulnerable version from being downloaded. The company also needs to allow the security team to publish the patched version.

Which combination of steps will meet these requirements? {Select TWO.)

A.
Update the status of the affected CodeArtifact package version to unlisted
Answers
A.
Update the status of the affected CodeArtifact package version to unlisted
B.
Update the status of the affected CodeArtifact package version to deleted
Answers
B.
Update the status of the affected CodeArtifact package version to deleted
C.
Update the status of the affected CodeArtifact package version to archived.
Answers
C.
Update the status of the affected CodeArtifact package version to archived.
D.
Update the CodeArtifact package origin control settings to allow direct publishing and to block upstream operations
Answers
D.
Update the CodeArtifact package origin control settings to allow direct publishing and to block upstream operations
E.
Update the CodeArtifact package origin control settings to block direct publishing and to allow upstream operations.
Answers
E.
Update the CodeArtifact package origin control settings to block direct publishing and to allow upstream operations.
Suggested answer: B, D

Explanation:

Update the status of the affected CodeArtifact package version to deleted:

Deleting the vulnerable package version prevents it from being available for download by any users or systems, ensuring that the compromised version is not consumed.

Update the CodeArtifact package origin control settings to allow direct publishing and to block upstream operations:

By allowing direct publishing, the security team can publish the patched version of the package directly to the CodeArtifact repository.

Blocking upstream operations prevents the repository from automatically fetching and serving the vulnerable package version from upstream public repositories.

By deleting the vulnerable version and configuring the origin control settings to allow direct publishing and block upstream operations, the company ensures that only the patched version is available and the vulnerable version cannot be downloaded.

Managing Package Versions in CodeArtifact

Package Origin Controls in CodeArtifact

asked 16/09/2024
Carlotta Agape
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first