Ultimate access to all questions.
As a junior Data Scientist working with Python and TensorFlow in Google's Vertex AI, you've deployed a new model in the test environment for a critical project. After deployment, you encounter unexpected prediction errors that are difficult to diagnose because no logging information is available. Your team lead emphasizes the importance of quickly resolving these issues to meet project deadlines and compliance requirements. Which of the following steps should you take to enable and obtain the necessary logs for debugging? (Choose two options)
Explanation:
In Vertex AI, to enable logging for predictions, you must undeploy and then redeploy your model with logging enabled. This is because logging settings cannot be dynamically adjusted post-deployment. There are two main types of logs: Container logging, which captures detailed information from the containers hosting your model, including system outputs and errors, and is essential for debugging; and Access logging, which records access and latency information but does not provide detailed debugging information. Therefore, the correct actions are to undeploy and redeploy the model to enable logging and to implement Container logging. Options suggesting enabling logs dynamically or solely using Access logging are incorrect as they do not provide the detailed logs needed for debugging. For more information, refer to the Vertex AI documentation on logging.