nerdexam
AmazonAmazon

SCS-C02 · Question #55

SCS-C02 Question #55: Real Exam Question with Answer & Explanation

Sign in or unlock SCS-C02 to reveal the answer and full explanation for question #55. The question stem and answer options stay visible for context.

Submitted by jaden.t· Mar 6, 2026

Question

A security engineer is attempting to push a Linux-based container image to an Amazon Elastic Container Registry (Amazon ECR) repository that is in the us-east-1 Region. The security engineer has retrieved an authentication token by using the aws ecr get-login-password AWS CLI command within the last 4 hours. The security engineer has confirmed that the correct permissions are in place to push the container image to the repository. When the security engineer tries to push the container image, the security engineer receives the following error: "no basic auth credentials". What should the security engineer do to resolve this error?

Options

  • AObtain a new authorization token.
  • BConfigure the AWS CLI to use us-east-1.
  • CModify the aws-auth-cm.yaml file to include the IAM role for the security engineer.
  • DActivate AWS Security Token Service (AWS STS) in us-east-1.

Unlock SCS-C02 to see the answer

You've previewed enough free SCS-C02 questions. Unlock SCS-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full SCS-C02 PracticeBrowse All SCS-C02 Questions