Module 2 Flashcards

1
Q

What are the four major challenges, data engineers and data scientists are facing? (Known as 4Vs)

A

variety, volume, velocity, and veracity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: “We can create and execute machine learning models on your structured datasets in BigQuery”

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two services that BigQuery provides in one?

A

A fully managed storage facility to load and store datasets, and also a fast SQL-based analytical engine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

….. is a large store, containing terabytes and petabytes of data gathered from a wide range of sources within an organization, that’s used to guide management decisions.

A

BigQuery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can we perform hyperparameter tuning in BigQuery?

A

Yes, With BigQuery ML, you can either manually control the hyperparameters or hand it to BigQuery starting with a default hyperparameter setting and then automatic tuning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is One-hot encoding?

A

One-hot encoding is a method of converting categorical data to numeric data to prepare it for model training.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: “BigQuery ML doesn’t automatically perform one-hot encoding of categorical values”

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the phase 1 in a machine learning project?

A

In phase 1, you extract, transform, and load data into BigQuery, if it isn’t there already.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does ML.PREDICT command do in BigQuery?

A

you can use the ML.PREDICT command on a trained model, and pass through the dataset you want to make the prediction on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

While the model is running, and even after it’s complete, you can view training progress with ….

A

ML.TRAINING_INFO

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the four options Google Cloud offers for building machine learning models?

A

BigQueryML, AutoML, Pre-built APIs, Custom training

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between loss and cost function?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the three main stage of ML workflow?

A

Data Preparing, Model Development, Model Serving

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

…. is a set of tools and frameworks to help understand and interpret predictions made by machine learning models.

A

Explainable AI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

A farm uses the machine learning technology of Google to detect defective apples in their crop, like those with irregular sizes or scratches. The goal is to identify only the apples that are actually bad so that no good apples are wasted. Which metric should the model focus on?

A

Precision

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A hospital uses the machine learning technology of Google to help pre-diagnose cancer by feeding historical patient medical data to the model. The goal is to identify as many potential cases as possible. Which metric should the model focus on?

A

Recall

17
Q

We can use … to quickly prototype and customize generative AI models with no or low code.

A

Generative AI Studio

18
Q

What is Zero-shot prompting?

A

Zero-shot prompting is a method where the LLM is given no additional data on the specific task that it is being asked to perform.

19
Q

What are the 3 methods you can use to shape the GenAI model’s response in a way that you desire.

A

Zero-shot, one-shot and few-shot prompting

20
Q

What is temperature in GenAI?

A

Temperature is a number used to tune the degree of randomness. Low temperature: Means to narrow the range of possible words to those that have high possibilities and are more typical.

21
Q

Low or high temperature for scenarios like questions-and-answers and summarization?

A

Low temperature

22
Q

What is top-K and top-P in GenAI?

A

op K lets the model randomly return a word from the top K number of words in terms of possibility. Top P allows the model to return a random word from the smallest subset with the sum of the likelihoods that exceeds or equals to P. For instance, P of 0.75 means you sample from a set of words that have a cumulative probability greater than 0.75.

23
Q

Which of the following is a type of prompt that allows a large language model to perform a task with only a small number of examples?

Unsupervised prompt

One-shot prompt

Zero-shot prompt

Few-shot prompt

A

Few-shot prompt

24
Q

Which of the following is the best way to generate more creative or unexpected content by adjusting the model parameters in Generative AI Studio?

Set the temperature to a low value.

Set the top P to 25%.

Set the top K to 1.

Set the temperature to a high value.

A

Set the temperature to a high value.