Question 1
A team rebuilds a Python inference image under the same tag and production pulls the wrong binary. What change should the developer make FIRST to satisfy the stated need?
Explanation
Correct Answer
Mutable image tags can move to another manifest; digest pinning makes a particular image revision reproducible. For this situation—A team rebuilds a Python inference image under the same tag and production pulls the wrong binary—the relevant response is “Pin the deployment to the image digest or immutable version tag in Azure Container Registry”. A useful confirmation is “The running workload resolves to the recorded digest even after another release is pushed”.
Incorrect Answers
ACR quick tasks execute builds remotely without requiring a local daemon or a long-lived CI trigger. That does not directly address the situation—A team rebuilds a Python inference image under the same tag and production pulls the wrong binary. The more suitable choice is “Pin the deployment to the image digest or immutable version tag in Azure Container Registry”: Mutable image tags can move to another manifest; digest pinning makes a particular image revision reproducible.
Deployment slots support staged validation and swaps while reducing direct production deployment risk. That does not directly address the situation—A team rebuilds a Python inference image under the same tag and production pulls the wrong binary. The more suitable choice is “Pin the deployment to the image digest or immutable version tag in Azure Container Registry”: Mutable image tags can move to another manifest; digest pinning makes a particular image revision reproducible.
ACR geo-replication places registry replicas near workloads without creating unrelated image repositories. That does not directly address the situation—A team rebuilds a Python inference image under the same tag and production pulls the wrong binary. The more suitable choice is “Pin the deployment to the image digest or immutable version tag in Azure Container Registry”: Mutable image tags can move to another manifest; digest pinning makes a particular image revision reproducible.