nerdexam
Amazon

DVA-C02 · Question #189

A developer accesses AWS CodeCommit over SSH. The SSH keys configured to access AWS CodeCommit are tied to a user with the following permissions: The developer needs to create/delete branches. Which…

The correct answer is A. "codecommit:CreateBranch". https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-

Submitted by diego_uy· Mar 5, 2026Security

Question

A developer accesses AWS CodeCommit over SSH. The SSH keys configured to access AWS CodeCommit are tied to a user with the following permissions:

The developer needs to create/delete branches. Which specific IAM permissions need to be added, based on the principle of least privilege?

Options

  • A"codecommit:CreateBranch"
  • B"codecommit:Put*"
  • C"codecommit:Update*"
  • D"codecommit:*"

How the community answered

(19 responses)
  • A
    89% (17)
  • B
    5% (1)
  • C
    5% (1)

Explanation

https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice