Q28 Container Registry Domain 1 · 20–25% of exam Priority · Real Exam

You need to copy an image between two ACR registries in different subscriptions without pulling it locally. Which command is appropriate?

  1. A az acr build
  2. B az acr import --source <src>.azurecr.io/app:v1 --registry <srcResourceId> (correct answer)
  3. C docker tag followed by docker push
  4. D az acr replication create

Shortcut: az acr import performs a server-side copy between registries, including across subscriptions and tenants when a source resource id or credentials are supplied. No local Docker daemon is used.