Question 150
After a monorepo reorganization ACR Tasks still builds the root Dockerfile and deploys a stale inference application. Which engineering change is the most direct response to the stated failure and constraint?
Explanation
Correct Answer
This remedy fits the observed case: After a monorepo reorganization ACR Tasks still builds the root Dockerfile and deploys a stale inference application. Update the ACR Task source context and Dockerfile path to the new service directory. The underlying issue is The task points to an obsolete build context rather than the moved application. Direct acceptance evidence is The run resolves the intended Dockerfile and the output contains the new service commit.
Incorrect Answers
The alternative addresses: The source trigger pattern is broader than the release governance requirement. The reported constraint here is different: The task points to an obsolete build context rather than the moved application. The case-specific choice is: Update the ACR Task source context and Dockerfile path to the new service directory.
The task identity cannot authenticate to the cross-registry base-image repository. By contrast, the relevant technical condition here is: The task points to an obsolete build context rather than the moved application. The appropriate selection is: Update the ACR Task source context and Dockerfile path to the new service directory.
Secrets embedded in build instructions are baked into recoverable artifact history. This is a separate requirement; the current case instead hinges on: The task points to an obsolete build context rather than the moved application. The matching answer is: Update the ACR Task source context and Dockerfile path to the new service directory.