
Explanation:
The solution does not meet the goal because it incorrectly configures authentication. The requirement specifies key-based authentication, but the solution sets auth_enabled to False (disabling key-based auth) and token_auth_enabled to True (enabling token-based auth instead). For ACI web services, key-based authentication is disabled by default and must be explicitly enabled by setting auth_enabled = TRUE. The community discussion confirms this, with multiple comments (e.g., from SnowCheetah and Kapil1803) emphasizing that key-based and token-based authentication are distinct methods, and the solution's configuration contradicts the goal. The correct approach would be to set auth_enabled = TRUE and token_auth_enabled = FALSE to enforce key-based authentication.
Ultimate access to all questions.
You train and register a machine learning model that you plan to deploy as a real-time web service. The requirement is for applications to use key-based authentication to consume the model.
You propose the following solution:
auth_enabled property to False.token_auth_enabled property to True.Does this solution meet the goal?
A
Yes
B
No
No comments yet.