πŸ”

PMLE β€” questions

Page 16 of 17 Β· 339 total questions.

Topic 1 Β· Question 301

You are an ML engineer at a bank. You need to build a solution that provides transparent and understandable explanations for AI-driven decisions for loan approvals, credit limits, and interest rates. You want to build this system to require minimal operational overhead. What should you do?

  • ADeploy the Learning Interpretability Tool (LIT) on App Engine to provide explainability and visualization of the output.
  • BUse Vertex Explainable AI to generate feature attributions, and use feature-based explanations for your models. (correct answer)
  • CUse AutoML Tables with built-in explainability features, and use Shapley values for explainability.
  • DDeploy pre-trained models from TensorFlow Hub to provide explainability using visualization tools.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use Vertex Explainable AI to generate feature attributions, and use feature-based explanations for your models.

Topic 1 Β· Question 302

You are building an application that extracts information from invoices and receipts. You want to implement this application with minimal custom code and training. What should you do?

  • AUse the Cloud Vision API with TEXT_DETECTION type to extract text from the invoices and receipts, and use a pre-built natural language processing (NLP) model to parse the extracted text.
  • BUse the Cloud Document AI API to extract information from the invoices and receipts. (correct answer)
  • CUse Vertex AI Agent Builder with the pre-built Layout Parser model to extract information from the invoices and receipts.
  • DTrain an AutoML Natural Language model to classify and extract information from the invoices and receipts.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use the Cloud Document AI API to extract information from the invoices and receipts.

Explanation

Document AI extracts structured data from documents.

Topic 1 Β· Question 303

You work for a media company that operates a streaming movie platform where users can search for movies in a database. The existing search algorithm uses keyword matching to return results. Recently, you have observed an increase in searches using complex semantic queries that include the movies’ metadata such as the actor, genre, and director. You need to build a revamped search solution that will provide better results, and you need to build this proof of concept as quickly as possible. How should you build the search platform?

  • AUse a foundational large language model (LLM) from Model Garden as the search platform’s backend.
  • BConfigure Vertex AI Vector Search as the search platform’s backend.
  • CUse a BERT-based model and host it on a Vertex AI endpoint.
  • DCreate the search platform through Vertex AI Agent Builder. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create the search platform through Vertex AI Agent Builder.

Explanation

Vertex AI is the unified managed platform to build, train, tune, deploy, and operate ML models. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 304

You are an AI engineer that works for a popular video streaming platform. You built a classification model using PyTorch to predict customer churn. Each week, the customer retention team plans to contact customers that have been identified as at risk of churning with personalized offers. You want to deploy the model while minimizing maintenance effort. What should you do?

  • AUse Vertex AI’s prebuilt containers for prediction. Deploy the container on Cloud Run to generate online predictions.
  • BUse Vertex AI’s prebuilt containers for prediction. Deploy the model on Google Kubernetes Engine (GKE), and configure the model for batch prediction.
  • CDeploy the model to a Vertex AI endpoint, and configure the model for batch prediction. Schedule the batch prediction to run weekly. (correct answer)
  • DDeploy the model to a Vertex AI endpoint, and configure the model for online prediction. Schedule a job to query this endpoint weekly.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Deploy the model to a Vertex AI endpoint, and configure the model for batch prediction. Schedule the batch prediction to run weekly.

Explanation

Google Cloud Batch schedules and runs batch jobs at scale without managing infrastructure. Vertex AI is the unified managed platform to build, train, tune, deploy, and operate ML models. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 305

Your company recently migrated several of is ML models to Google Cloud. You have started developing models in Vertex AI. You need to implement a system that tracks model artifacts and model lineage. You want to create a simple, effective solution that can also be reused for future models. What should you do?

  • AUse a combination of Vertex AI Pipelines and the Vertex AI SDK to integrate metadata tracking into the ML workflow. (correct answer)
  • BUse Vertex AI Pipelines for model artifacts and MLflow for model lineage.
  • CUse Vertex AI Experiments for model artifacts and use Vertex ML Metadata for model lineage.
  • DImplement a scheduled metadata tracking solution using Cloud Composer and Cloud Run functions.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use a combination of Vertex AI Pipelines and the Vertex AI SDK to integrate metadata tracking into the ML workflow.

Explanation

Vertex AI is the unified managed platform to build, train, tune, deploy, and operate ML models.

Topic 1 Β· Question 306

You work for a large retailer, and you need to build a model to predict customer chum. The company has a dataset of historical customer data, including customer demographics purchase history, and website activity. You need to create the model in BigQuery ML and thoroughly evaluate its performance. What should you do?

  • ACreate a linear regression model in BigQuery ML, and register the model in Vertex AI Model Registry. Use Vertex AI to evaluate the model performance.
  • BCreate a logistic regression model in BigQuery ML, and register the model in Vertex AI Model Registry. Use ML.ARIMA_EVALUATE function to evaluate the model performance.
  • CCreate a linear regression model in BigQuery ML. Use the ML.EVALUATE function to evaluate the model performance.
  • DCreate a logistic regression model in BigQuery ML. Use the ML.CONFUSION_MATRIX function to evaluate the model performance. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create a logistic regression model in BigQuery ML. Use the ML.CONFUSION_MATRIX function to evaluate the model performance.

Explanation

BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage.

Topic 1 Β· Question 307

You are an AI architect at a popular photo sharing social media platform. Your organization's content moderation team currently scans images uploaded by users and removes explicit images manually. You want to implement an AI service to automatically prevent users from uploading explicit images. What should you do?

  • ATrain an image clustering model by using TensorFlow in a Vertex AI Workbench instance. Deploy this model to a Vertex AI endpoint and configure it for online inference. Run this model each time a new image is uploaded to identify and block inappropriate uploads.
  • BDevelop a custom TensorFlow model in a Vertex AI Workbench instance. Train the model on a dataset of manually labeled images. Deploy the model to a Vertex AI endpoint. Run periodic batch inference to identify inappropriate uploads and report them to the content moderation team.
  • CCreate a dataset using manually labeled images. Ingest this dataset into AutoML. Train an image classification model and deploy into a Vertex AI endpoint. Integrate this endpoint with the image upload process to identify and block inappropriate uploads. Monitor predictions and periodically retrain the model. (correct answer)
  • DSend a copy of every user-uploaded image to a Cloud Storage bucket. Configure a Cloud Run function that triggers the Cloud Vision API to detect explicit content each time a new image is uploaded. Report the classifications to the content moderation team for review.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a dataset using manually labeled images. Ingest this dataset into AutoML. Train an image classification model and deploy into a Vertex AI endpoint. Integrate this endpoint with the image upload process to ident...

Explanation

Vertex AI is the unified managed platform to build, train, tune, deploy, and operate ML models. AutoML trains high-quality custom models from your data with minimal ML expertise.

Topic 1 Β· Question 308

You are an ML engineer at a bank. The bank's leadership team wants to reduce the number of loan defaults. The bank has labeled historic data about loan defaults stored in BigQuery. You have been asked to use AI to support the loan application process. For compliance reasons, you need to provide explanations for loan rejections. What should you do?

  • AImport the historic loan default data into AutoML. Train and deploy a linear regression model to predict default probability. Report the probability of default for each loan application.
  • BCreate a custom application that uses the Gemini large language model (LLM). Provide the historic data as context to the model, and prompt the model to predict customer defaults. Report the prediction and explanation provided by the LLM for each loan application.
  • CTrain and deploy a BigQuery ML classification model trained on historic loan default data. Enable feature-based explanations for each prediction. Report the prediction, probability of default, and feature attributions for each loan application. (correct answer)
  • DLoad the historic loan default data into a Vertex AI Workbench instance. Train a deep learning classification model using TensorFlow to predict loan default. Run inference for each loan application, and report the predictions.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Train and deploy a BigQuery ML classification model trained on historic loan default data. Enable feature-based explanations for each prediction. Report the prediction, probability of default, and feature attributions...

Explanation

BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage.

Topic 1 Β· Question 309

You are developing a natural language processing model that analyzes customer feedback to identify positive, negative, and neutral experiences. During the testing phase, you notice that the model demonstrates a significant bias against certain demographic groups, leading to skewed analysis results. You want to address this issue following Google's responsible AI practices. What should you do?

  • AUse Vertex AI's model evaluation lo assess bias in the model's predictions, and use post-processing to adjust outputs for identified demographic discrepancies.
  • BImplement a more complex model architecture that can capture nuanced patterns in language to reduce bias.
  • CAudit the training dataset to identify underrepresented groups and augment the dataset with additional samples before retraining the model. (correct answer)
  • DUse Vertex Explainable AI to generate explanations and systematically adjust the predictions to address identified biases.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Audit the training dataset to identify underrepresented groups and augment the dataset with additional samples before retraining the model.

Topic 1 Β· Question 310

You recently deployed an image classification model on Google Cloud. You used Cloud Build to build a CI/CD pipeline for the model. You need to ensure that the model stays up-to-date with data and code changes by using an efficient retraining process. What should you do?

  • AUse Cloud Run functions to monitor data drift in real time and trigger a Vertex AI Training job to retrain the model when data drift exceeds a predetermined threshold.
  • BConfigure a Git repository trigger in Cloud Build to initiate retraining when there are new code commits to the model's repository and a Pub/Sub trigger when there is new data in Cloud Storage. (correct answer)
  • CUse Cloud Scheduler to initiate a daily retraining job in Vertex AI Pipelines.
  • DConfigure Cloud Composer to orchestrate a weekly retraining job that includes data extraction from BigQuery, model retraining with Vertex AI Training, and model deployment to a Vertex AI endpoint.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Configure a Git repository trigger in Cloud Build to initiate retraining when there are new code commits to the model's repository and a Pub/Sub trigger when there is new data in Cloud Storage.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams. Cloud Build runs managed CI pipelines to build, test, and package code.

Topic 1 Β· Question 311

You lead a data science team that is working on a computationally intensive project involving running several experiments. Your team is geographically distributed and requires a platform that provides the most effective real-time collaboration and rapid experimentation. You plan to add GPUs to speed up your experimentation cycle, and you want to avoid having to manually set up the infrastructure. You want to use the Google-recommended approach. What should you do?

  • AConfigure a managed Dataproc cluster for large-scale data processing. Configure individual Jupyter notebooks on VMs that each team member uses for experimentation and model development.
  • BUse Colab Enterprise with Cloud Storage for data management. Use a Git repository for version control.
  • CUse Vertex AI Workbench and Cloud Storage for data management. Use a Git repository for version control. (correct answer)
  • DConfigure a distributed JupyterLab instance that each team member can access on a Compute Engine VM. Use a shared code repository for version control.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Vertex AI Workbench and Cloud Storage for data management. Use a Git repository for version control.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. Vertex AI is the unified managed platform to build, train, tune, deploy, and operate ML models. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 312

You need to train a ControlNet model with Stable Diffusion XL for an image editing use case. You want to train this model as quickly as possible. Which hardware configuration should you choose to train your model?

  • AConfigure one a2-highgpu-1g instance with an NVIDIA A100 GPU with 80 GB of RAM. Use float32 precision during model training.
  • BConfigure one a2-highgpu-1g instance with an NVIDIA A100 GPU with 80 GB of RAM. Use bfloat16 quantization during model training. (correct answer)
  • CConfigure four n1-standard-16 instances, each with one NVIDIA Tesla T4 GPU with 16 GB of RAM. Use float32 precision during model training.
  • DConfigure four n1-standard-16 instances, each with one NVIDIA Tesla T4 GPU with 16 GB of RAM. Use floar16 quantization during model training.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Configure one a2-highgpu-1g instance with an NVIDIA A100 GPU with 80 GB of RAM. Use bfloat16 quantization during model training.

Topic 1 Β· Question 313

You are the lead ML engineer on a mission-critical project that involves analyzing massive datasets using Apache Spark. You need to establish a robust environment that allows your team to rapidly prototype Spark models using Jupyter notebooks. What is the fastest way to achieve this?

  • ASet up a Vertex AI Workbench instance with a Spark kernel.
  • BUse Colab Enterprise with a Spark kernel.
  • CSet up a Dataproc cluster with Spark and use Jupyter notebooks. (correct answer)
  • DConfigure a Compute Engine instance with Spark and use Jupyter notebooks.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Set up a Dataproc cluster with Spark and use Jupyter notebooks.

Explanation

Dataproc runs managed Spark and Hadoop clusters for big-data processing.

Topic 1 Β· Question 314

You are training a large-scale deep learning model on a Cloud TPU. While monitoring the training progress through Tensorboard, you observe that the TPU utilization is consistently low and there are delays between the completion of one training step and the start of the next step. You want to improve TPU utilization and overall training performance. How should you address this issue?

  • AApply tf.data.Detaset.map with vectorized operations and parallelization.
  • BUse tf.data.Detaset.interleave with multiple data sources.
  • CUse tf.data.Detaset.cache on the dataset after the first epoch.
  • DImplement tf.data.Detaset.prefetch in the data pipeline. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Implement tf.data.Detaset.prefetch in the data pipeline.

Topic 1 Β· Question 315

You are building an ML pipeline to process and analyze both steaming and batch datasets. You need the pipeline to handle data validation, preprocessing, model training, and model deployment in a consistent and automated way. You want to design an efficient and scalable solution that captures model training metadata and is easily reproducible. You want to be able to reuse custom components for different parts of your pipeline. What should you do?

  • AUse Cloud Composer for distributed processing of batch and streaming data in the pipeline.
  • BUse Dataflow for distributed processing of batch and streaming data in the pipeline.
  • CUse Cloud Build to build and push Docker images for each pipeline component.
  • DImplement an orchestration framework such as Kubeflow Pipelines or Vertex AI Pipelines. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Implement an orchestration framework such as Kubeflow Pipelines or Vertex AI Pipelines.

Explanation

Vertex AI is the unified managed platform to build, train, tune, deploy, and operate ML models.

Topic 1 Β· Question 316

You are developing an ML model on Vertex AI that needs to meet specific interpretability requirements for regulatory compliance. You want to use a combination of model architectures and modeling techniques to maximize accuracy and interpretability. How should you create the model?

  • AUse a convolutional neural network (CNN)-based deep learning model architecture, and use local interpretable model-agnostic explanations (LIME) for interpretability.
  • BUse a recurrent neural network (RNN)-based deep learning model architecture, and use integrated gradients for interpretability.
  • CUse a boosted decision tree-based model architecture, and use SHAP values for interpretability. (correct answer)
  • DUse a long short-term memory (LSTM)-based model architecture, and use local interpretable model-agnostic explanations (LIME) for interpretability.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use a boosted decision tree-based model architecture, and use SHAP values for interpretability.

Topic 1 Β· Question 317

You have developed a fraud detection model for a large financial institution using Vertex AI. The model achieves high accuracy, but the stakeholders are concerned about the model's potential for bias based on customer demographics. You have been asked to provide insights into the model's decision-making process and identify any fairness issues. What should you do?

  • ACreate feature groups using Vertex AI Feature Store to segregate customer demographic features and non-demographic features. Retrain the model using only non-demographic features.
  • BUse feature attribution in Vertex AI to analyze model predictions and the impact of each feature on the model's predictions. (correct answer)
  • CEnable Vertex AI Model Monitoring to detect training-serving skew. Configure an alert to send an email when the skew or drift for a modes feature exceeds a predefined threshold. Re-train the model by appending new data to existing raining data.
  • DCompile a dataset of unfair predictions. Use Vertex AI Vector Search to identify similar data points in the model's predictions. Report these data points to the stakeholders.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use feature attribution in Vertex AI to analyze model predictions and the impact of each feature on the model's predictions.

Explanation

Vertex AI is the unified managed platform to build, train, tune, deploy, and operate ML models.

Topic 1 Β· Question 318

You developed an ML model using Vertex AI and deployed it to a Vertex AI endpoint. You anticipate that the model will need to be retrained as new data becomes available. You have configured a Vertex AI Model Monitoring Job. You need to monitor the model for feature attribution drift and establish continuous evaluation metrics. What should you do?

  • ASet up alerts using Cloud Logging, and use the Vertex AI console to review feature attributions. (correct answer)
  • BSet up alerts using Cloud Logging, and use Looker Studio to create a dashboard that visualizes feature attribution drift. Review the dashboard periodically.
  • CEnable request-response logging for the Vertex AI endpoint, and set up alerts using Pub/Sub. Create a Cloud Run function to run TensorFlow Data Validation on your dataset.
  • DEnable request-response logging for the Vertex AI endpoint, and set up alerts using Cloud Logging. Review the feature attributions in the Google Cloud console when an alert is received.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Set up alerts using Cloud Logging, and use the Vertex AI console to review feature attributions.

Explanation

Vertex AI is the unified managed platform to build, train, tune, deploy, and operate ML models. Cloud Logging centralizes, stores, and analyzes logs across services.

Topic 1 Β· Question 319

You work as an ML researcher at an investment bank, and you are experimenting with the Gemma large language model (LLM). You plan to deploy the model for an internal use case. You need to have full control of the mode's underlying infrastructure and minimize the model's inference time. Which serving configuration should you use for this task?

  • ADeploy the model on a Vertex AI endpoint manually by creating a custom inference container.
  • BDeploy the model on a Google Kubernetes Engine (GKE) cluster by using the deployment options in Model Garden. (correct answer)
  • CDeploy the model on a Vertex AI endpoint by using one-click deployment in Model Garden.
  • DDeploy the model on a Google Kubernetes Engine (GKE) cluster manually by cresting a custom yaml manifest.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Deploy the model on a Google Kubernetes Engine (GKE) cluster by using the deployment options in Model Garden.

Explanation

Google Kubernetes Engine runs managed Kubernetes for containerized, portable workloads. Google Kubernetes Engine runs managed Kubernetes for containerized workloads.

Topic 1 Β· Question 320

You are an ML researcher and are evaluating multiple deep learning-based model architectures and hyperparameter configurations. You need to implement a robust solution to track the progress of each model iteration, visualize key metrics, gain insights into model internals, and optimize training performance. You want your solution to have the most efficient and powerful approach to compare the models and have the strongest visualization abilities. How should you bull this solution?

  • AUse Vertex AI TensorBoard for in-depth visualization and analysis, and use BigQuery for experiment tracking and analysis.
  • BUse Vertex AI TensorBoard for visualizing training progress and model behavior, and use Vertex AI Feature Store to stove and manage experiment data for analysis and reproducibility.
  • CUse Vertex AI Experiments for tracking iterations and comparison, and use Vertex AI TensorBoard for visualization and analysis of the training metrics and model architecture. (correct answer)
  • DUse Vertex AI Experiments for tracking iterations and comparison, and use BigQuery and Looker Studio for visualization and analysis of the training metrics and model architecture.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Vertex AI Experiments for tracking iterations and comparison, and use Vertex AI TensorBoard for visualization and analysis of the training metrics and model architecture.

Explanation

Vertex AI is the unified managed platform to build, train, tune, deploy, and operate ML models.

Showing questions 301–320 of 339 Β· Page 16 of 17