You need to run an application container image that changes frequently and you want rollback to a known-good version. Which approach best fits using Amazon ECR?
Answer
Use version tags (e.g., v1, v1.1) and also use image digests for deployments to pin an exact artifact
Explanation
Pinning to an image digest ensures the exact binary you tested is what runs. Version tags help with human-friendly releases and rollback.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which AWS service is primarily responsible for orchestrating automated, rule-based workflows that can span multiple AWS services (e.g., invoke Lambda, call Step Functions, send notifications)?
View question →
A CI/CD pipeline needs to build an artifact, run integration tests, and then deploy only if tests pass. Which AWS approach is most aligned with this requirement?
View question →
In AWS Key Management Service (KMS), which concept is most important to understand for designing fine-grained data encryption access for logs, S3 objects, and applications?
View question →
You see frequent ECS task restarts during a deployment. Which ECS configuration best prevents tasks from being killed before they can finish processing requests?
View question →
When you use the AWS CLI with an IAM role via an OIDC web identity provider (for workloads outside AWS), which OAuth2/OIDC flow is typically involved?
View question →
For AWS CloudWatch Logs, which action most directly helps reduce ingestion costs while retaining error data for analysis?
View question →