Question 700
A Python function's code uses a hardcoded queue name that differs by environment. Which observation BEST confirms the intended behavior after the change?
Explanation
Correct Answer
Function App settings separate runtime configuration from the deployed application package. The observed result “The same code package processes the correct configured entity in each environment” would confirm the change “Use Function App application settings for environment-specific connection and resource names” in this situation: A Python function's code uses a hardcoded queue name that differs by environment.
Incorrect Answers
HTTP trigger authorization and platform identity controls protect function invocation. The situation here is: A Python function's code uses a hardcoded queue name that differs by environment. A test of this alternative would miss the specific outcome “The same code package processes the correct configured entity in each environment”.
Timer triggers execute scheduled workloads based on a configured schedule, not incoming HTTP calls. The situation here is: A Python function's code uses a hardcoded queue name that differs by environment. A test of this alternative would miss the specific outcome “The same code package processes the correct configured entity in each environment”.
I/O-bound handlers benefit from nonblocking operations and bounded concurrency. The situation here is: A Python function's code uses a hardcoded queue name that differs by environment. A test of this alternative would miss the specific outcome “The same code package processes the correct configured entity in each environment”.