AWS AI Practitioner Flashcards

1
Q

Portion of training training data is labeled and feedback is provided in the form of rewards or penalties. What type of learning

A

Reinforcement learning

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

What are the two types of inferencing?

A

Batch and Real time

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

Deep learning is used in which use 2 cases?

A

Computer vision and NLP

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

What are FMs in generative AI?

A

Pretrained models

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

Are FMs pre trained using reinforced learning? True or False?

A

False. FMs are typically pre-trained through self-supervised learning

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

Self-supervised learning makes use of the structure within the data to autogenerate labels. True or False?

A

True

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

Optimization of pre trained FMs are done using what?

A

Prompt engineering,
Retrieval-augmented generation (RAG),
Fine-tuning on task-specific data

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

LLMs, Diffusion and Multiodel models are what?

A

This is and FM model

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

Thease are numerical representations of tokens, where each token is assigned a vector (a list of numbers) that captures its meaning and relationships with other tokens?

A

Embeddings

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

Which is the models which gradually add more and more meaningful information to this noise until they end up with a clear and coherent output, like an image or a piece of text?

A

Diffusion model

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

Which model has generator and discriminator?

A

Generative adversarial networks

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

Which model has encoders and decoders?

A

Varional autoencoders

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

What are the components of prompt engineering

A

Instructions, Context, Input data and Output indicator

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

What is a supervised learning process that involves taking a pre-trained model and adding specific, smaller datasets?

A

Fine tuning

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

Two types of fine tuning

A

Instruction fine-tuning and Reinforcement learning from human feedback (RLHF)

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

Fine tuning does it add weight to the data?

A

Yes

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

What is Retrieval-augmented generation (RAG)?

A

Supplies domain-relevant data as context to produce responses based on that data.

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

How is RAG different from fine tuning

A

Rather than having to fine-tune an FM with a small set of labeled examples, RAG retrieves a small set of relevant documents and uses that to provide context to answer the user prompt

19
Q

What are two types of supervised learning?

A

Classification and Regression

20
Q

Predicting continuous or numerical values based on one or more input variable?

A

Regression

21
Q

Forcasting uses which supervised learning technique?

A

Regression

22
Q

Diagnostic uses which supervised learning technique?

A

Classfication

23
Q

What are two types of unsupervised learning?

A

Clustering and Dimensionality reduction

24
Q

Grouping of unstructured data is done in which type of unsupervised learning?

A

Clustering

25
Q

Reducing the number of features or dimensions in a dataset in which type of unsupervised learning?

A

Dimensionality reduction

26
Q

Which learning type continuously improves its model by mining feedback from previous iterations?

A

Reinforcement learning

27
Q

In which learning the reward of a desired outcome is known, but the path to achieving it isn’t?

A

Reinforcement learning

28
Q

How to reduce toxity risk in generative AI?

A

Use guardrail models

29
Q

What does guradrail models do?

A

These models will detect and filter out unwanted content

30
Q

What is the risk term for when model generates inaccurate responses that are not consistent with the training data?

A

Hellucinations

31
Q

What is the risk term when model might generate different outputs for the same input?

A

Nondeterminism

32
Q

What is the risk term when the information shared with your model can include personal information and can potentially violate privacy laws?

A

Data security and privacy concerns

33
Q

What is the risk term when output generated by model has PII?

A

Regulatory violations

34
Q

Which generative AI model used for chatbots?

35
Q

Which generative AI model used for code generation?

36
Q

Which generative AI model used for code gaming?

A

Stable Diffusion

37
Q

Which generative AI has embeddings?

A

Amazon Titan

38
Q

Which generative AI has a use case of Healthcare – summarize key ideas from long text?

39
Q

What are the capabilities of generative AI?

A

SPARCD

Adaptability
Responsiveness
Simplicity
Creativity and exploration
Data efficiency
Personalization

40
Q

Recommendation engines, gaming, and voice assistance are examples of which type of AI system?

A

Traditional AI

41
Q

Chatbots, code generation, and text and image generation are examples of which type of AI system?

A

Generative AI

42
Q

When is a model is underfitted?

A

When a model has a high bias

43
Q

Overfitting happens when?

A

When model performs well on the training data but does not perform well on the evaluation data