
Ultimate access to all questions.
In a scenario where you are working on a Databricks environment and need to integrate a custom JAR file into a Databricks job as a library, considering factors such as REST API usage, endpoint selection, and parameter specification, which of the following steps would you take to ensure the successful creation and addition of the library? Choose the single best option.
A
Utilize the '/2.0/libraries/install' endpoint with the 'jar_uri' parameter to directly install the custom JAR file as a library without creating a new library entry._
B
Employ the '/2.0/libraries/create' endpoint with the 'jar_uri' parameter to create a new library entry for the custom JAR file, ensuring it is properly registered within the Databricks environment._
C
Access the '/2.0/jobs/libraries' endpoint with the 'jar_uri' parameter to add the custom JAR file as a library directly to the job, bypassing the need for a library creation step._
D
Invoke the '/2.0/clusters/libraries' endpoint with the 'jar_uri' parameter to attach the custom JAR file as a library to the cluster, assuming the cluster will handle the library management._