- A
Artifact Registry has no gcr.io compatibility — all scripts must be updated immediately
Why wrong: Artifact Registry provides a transition path supporting gcr.io hostnames via the gcr.io compatibility feature.
- B
Enable the gcr.io compatibility redirect in Artifact Registry settings so gcr.io URLs route to Artifact Registry
Artifact Registry supports a gcr.io compatibility mode where requests to gcr.io/[PROJECT]/[IMAGE] are served from Artifact Registry — allowing gradual script migration.
- C
Use a Cloud DNS private zone to redirect gcr.io to Artifact Registry
Why wrong: DNS redirection is complex and brittle for this migration — Artifact Registry's built-in gcr.io compatibility is the native solution.
- D
Both Container Registry and Artifact Registry can be active simultaneously with no configuration
Why wrong: Container Registry will be shut down — Artifact Registry's gcr.io compatibility endpoint handles the transition, not parallel operation.
Use Artifact Registry's gcr.io Redirect to Avoid Script Updates
This ACE practice question tests your understanding of ace exam topics. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A team is migrating from Google Container Registry (gcr.io) to Artifact Registry. Existing automation scripts use `gcr.io/my-project/myimage`. To avoid updating all scripts immediately, which Artifact Registry feature allows gcr.io-addressed pulls to work with Artifact Registry backends?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"immediately / without restart"Why it matters: Time or reboot constraint — the correct answer must take effect right away without requiring a reboot or reload.
Quick Answer
The answer is to enable the gcr.io compatibility redirect in Artifact Registry settings, which allows gcr.io-addressed pulls to work seamlessly with Artifact Registry backends. This feature works by configuring a project-level redirect that automatically routes requests originally targeting `gcr.io/my-project/myimage` to the corresponding Artifact Registry repository, so existing automation scripts continue using the old hostname without modification while the underlying storage and image management shift to Artifact Registry. On the Google Associate Cloud Engineer exam, this concept tests your understanding of migration strategies that minimize operational disruption—a common trap is assuming you must rewrite all scripts or use a proxy, but the redirect handles this transparently for pull operations. Remember the key distinction: the redirect is for pulls only, not pushes, so you can migrate gradually. Memory tip: think “redirect, not rewrite”—the old URL stays, but the backend changes.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Enable the gcr.io compatibility redirect in Artifact Registry settings so gcr.io URLs route to Artifact Registry
Option B is correct because Artifact Registry offers a gcr.io compatibility redirect feature that automatically routes requests originally targeting `gcr.io/my-project/myimage` to the corresponding Artifact Registry repository. This allows existing automation scripts to continue using the old `gcr.io` hostname without modification, while the underlying storage and image management are handled by Artifact Registry. The redirect is configured at the project level and works transparently for pull operations, eliminating the need for immediate script updates.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Artifact Registry has no gcr.io compatibility — all scripts must be updated immediately
Why it's wrong here
Artifact Registry provides a transition path supporting gcr.io hostnames via the gcr.io compatibility feature.
- ✓
Enable the gcr.io compatibility redirect in Artifact Registry settings so gcr.io URLs route to Artifact Registry
Why this is correct
Artifact Registry supports a gcr.io compatibility mode where requests to gcr.io/[PROJECT]/[IMAGE] are served from Artifact Registry — allowing gradual script migration.
Clue confirmation
The clue word "immediately / without restart" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Use a Cloud DNS private zone to redirect gcr.io to Artifact Registry
Why it's wrong here
DNS redirection is complex and brittle for this migration — Artifact Registry's built-in gcr.io compatibility is the native solution.
- ✗
Both Container Registry and Artifact Registry can be active simultaneously with no configuration
Why it's wrong here
Container Registry will be shut down — Artifact Registry's gcr.io compatibility endpoint handles the transition, not parallel operation.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the misconception that DNS manipulation (like Cloud DNS private zones) can solve hostname redirection for external services, but in reality, Google-managed hostnames like `gcr.io` cannot be overridden with private DNS, and the correct solution is the built-in Artifact Registry redirect feature.
Detailed technical explanation
How to think about this question
The gcr.io compatibility redirect works by having Artifact Registry intercept requests to `gcr.io` at the Google Cloud infrastructure level, using the same authentication and authorization as Container Registry. Under the hood, the redirect is implemented via a backend mapping that translates the `gcr.io` hostname to the equivalent Artifact Registry repository path (e.g., `us-docker.pkg.dev/my-project/myimage`), ensuring that Docker or other container clients receive the correct image layers. A subtle behavior is that this redirect only applies to pull operations; push operations to `gcr.io` may still fail or require additional configuration, so teams should plan to update scripts for pushes eventually.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Related practice questions
Related ACE practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Configuring Access and Security practice questions
Practise ACE questions linked to Configuring Access and Security.
Planning and Configuring a Cloud Solution practice questions
Practise ACE questions linked to Planning and Configuring a Cloud Solution.
Ensuring Successful Operation of a Cloud Solution practice questions
Practise ACE questions linked to Ensuring Successful Operation of a Cloud Solution.
Deploying and Implementing a Cloud Solution practice questions
Practise ACE questions linked to Deploying and Implementing a Cloud Solution.
Setting Up a Cloud Solution Environment practice questions
Practise ACE questions linked to Setting Up a Cloud Solution Environment.
ACE fundamentals practice questions
Practise ACE questions linked to ACE fundamentals.
ACE scenario practice questions
Practise ACE questions linked to ACE scenario.
ACE troubleshooting practice questions
Practise ACE questions linked to ACE troubleshooting.
Practice this exam
Start a free ACE practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this ACE question test?
Read the scenario before looking for a memorised answer.
What is the correct answer to this question?
The correct answer is: Enable the gcr.io compatibility redirect in Artifact Registry settings so gcr.io URLs route to Artifact Registry — Option B is correct because Artifact Registry offers a gcr.io compatibility redirect feature that automatically routes requests originally targeting `gcr.io/my-project/myimage` to the corresponding Artifact Registry repository. This allows existing automation scripts to continue using the old `gcr.io` hostname without modification, while the underlying storage and image management are handled by Artifact Registry. The redirect is configured at the project level and works transparently for pull operations, eliminating the need for immediate script updates.
What should I do if I get this ACE question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "immediately / without restart". Time or reboot constraint — the correct answer must take effect right away without requiring a reboot or reload.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More ACE practice questions
- A team's Cloud Build pipeline must: (1) run unit tests, (2) build a Docker image only if tests pass, (3) push the image…
- A team needs a database backup job to run every day at 2 AM UTC. The job calls an HTTP endpoint to trigger the backup. T…
- A team wants to receive an email alert when the average CPU utilization of VMs in a managed instance group exceeds 80% f…
- A Go service is consuming significantly more CPU than expected. The team suspects an inefficient function but doesn't kn…
- A network team is creating a new VPC and must decide between auto mode and custom mode. Why would they choose custom mod…
- A company organizes its GCP projects by business unit — Finance, Engineering, and Sales. Which resource is best suited t…
Last reviewed: Jun 30, 2026
This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.