Databricks Certified Generative AI Engineer Associate — Question 44

A Generative AI Engineer is tasked with deploying an application that takes advantage of a custom MLflow Pyfunc model to return some interim results.
How should they configure the endpoint to pass the secrets and credentials?

Answer options

Correct answer: C

Explanation

The correct answer is C because using environment variables is a secure method to manage sensitive information without exposing it in the code. Options A and B do not specifically address credential management, and option D is insecure as it involves sending secrets in plain text, making it vulnerable to interception.