00:00

QUESTION 1

A company needs to train an ML model to classify images of different types of animals. The company has a large dataset of labeled images and will not label more data. Which type of learning should the company use to train the model?

Correct Answer: A
Supervised learning is appropriate when the dataset is labeled. The model uses this data to learn patterns and classify images. Unsupervised learning, reinforcement learning, and active learning are not suitable since they either require unlabeled data or different problem settings. References: AWS Machine Learning Best Practices.

QUESTION 2

A company is using a pre-trained large language model (LLM) to build a chatbot for product recommendations. The company needs the LLM outputs to be short and written in a specific language.
Which solution will align the LLM response quality with the company's expectations?

Correct Answer: A
Adjusting the prompt is the correct solution to align the LLM outputs with the company's expectations for short, specific language responses.
✑ Adjust the Prompt:
✑ Why Option A is Correct:
✑ Why Other Options are Incorrect:

QUESTION 3

A company wants to use a pre-trained generative AI model to generate content for its marketing campaigns. The company needs to ensure that the generated content aligns with the company's brand voice and messaging requirements.
Which solution meets these requirements?

Correct Answer: C
Creating effective prompts is the best solution to ensure that the content generated by a pre-trained generative AI model aligns with the company's brand voice and messaging requirements.
✑ Effective Prompt Engineering:
✑ Why Option C is Correct:
✑ Why Other Options are Incorrect:

QUESTION 4

Which term describes the numerical representations of real-world objects and concepts that AI and natural language processing (NLP) models use to improve understanding of textual information?

Correct Answer: A
Embeddings are numerical representations of objects (such as words, sentences, or documents) that capture the objects' semantic meanings in a form that AI and NLP models can easily understand. These representations help models improve their understanding of textual information by representing concepts in a continuous vector space.
✑ Option A (Correct): "Embeddings": This is the correct term, as embeddings provide
a way for models to learn relationships between different objects in their input space, improving their understanding and processing capabilities.
✑ Option B: "Tokens" are pieces of text used in processing, but they do not capture
semantic meanings like embeddings do.
✑ Option C: "Models" are the algorithms that use embeddings and other inputs, not the representations themselves.
✑ Option D: "Binaries" refer to data represented in binary form, which is unrelated to the concept of embeddings.
AWS AI Practitioner References:
✑ Understanding Embeddings in AI and NLP: AWS provides resources and tools, like Amazon SageMaker, that utilize embeddings to represent data in formats suitable for machine learning models.

QUESTION 5

A company uses a foundation model (FM) from Amazon Bedrock for an AI search tool. The company wants to fine-tune the model to be more accurate by using the company's data.
Which strategy will successfully fine-tune the model?

Correct Answer: A
Providing labeled data with both a prompt field and a completion field is the correct strategy for fine-tuning a foundation model (FM) on Amazon Bedrock.
✑ Fine-Tuning Strategy:
✑ Why Option A is Correct:
✑ Why Other Options are Incorrect: