Machine Learning Concepts Exam A
40 Questions
18 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

A company makes forecasts each quarter to decide how to optimize operations to meet expected demand. The company uses ML models to make these forecasts. An AI practitioner is writing a report about the trained ML models to provide transparency and explainability to company stakeholders. What should the AI practitioner include in the report to meet the transparency and explainability requirements?

  • Sample data for training
  • Partial dependence plots (PDPs) (correct)
  • Code for model training
  • Model convergence tables
  • A law firm wants to build an AI application by using large language models (LLMs). The application will read legal documents and extract key points from the documents. Which solution meets these requirements?

  • Develop a summarization chatbot. (correct)
  • Build an automatic named entity recognition system.
  • Develop a multi-language translation system.
  • Create a recommendation engine.
  • A company wants to classify human genes into 20 categories based on gene characteristics. The company needs an ML algorithm to document how the inner mechanism of the model affects the output. Which ML algorithm meets these requirements?

  • Logistic regression
  • Neural networks
  • Decision trees (correct)
  • Linear regression
  • A company has built an image classification model to predict plant diseases from photos of plant leaves. The company wants to evaluate how many images the model classified correctly. Which evaluation metric should the company use to measure the model's performance?

    <p>Accuracy (A)</p> Signup and view all the answers

    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?

    <p>Adjust the prompt. (C)</p> Signup and view all the answers

    A company uses Amazon SageMaker for its ML pipeline in a production environment. The company has large input data sizes up to 1 GB and processing times up to 1 hour. The company needs near real-time latency. Which SageMaker inference option meets these requirements?

    <p>Asynchronous inference (C)</p> Signup and view all the answers

    A company is using domain-specific models. The company wants to avoid creating new models from the beginning. The company instead wants to adapt pre-trained models to create models for new, related tasks. Which ML strategy meets these requirements?

    <p>Use transfer learning. (B)</p> Signup and view all the answers

    A company is building a solution to generate images for protective eyewear. The solution must have high accuracy and must minimize the risk of incorrect annotations. Which solution will meet these requirements?

    <p>Human-in-the-loop validation by using Amazon SageMaker Ground Truth Plus (A)</p> Signup and view all the answers

    A company wants to create a chatbot by using a foundation model (FM) on Amazon Bedrock. The FM needs to access encrypted data that is stored in an Amazon S3 bucket. The data is encrypted with Amazon S3 managed keys (SSE-S3). The FM encounters a failure when attempting to access the S3 bucket data. Which solution will meet these requirements?

    <p>Ensure that the role that Amazon Bedrock assumes has permission to decrypt data with the correct encryption key. (D)</p> Signup and view all the answers

    A company wants to use language models to create an application for inference on edge devices. The inference must have the lowest latency possible. Which solution will meet these requirements?

    <p>Deploy optimized small language models (SLMs) on edge devices. (B)</p> Signup and view all the answers

    A company wants to build an ML model by using Amazon SageMaker. The company needs to share and manage variables for model development across multiple teams. Which SageMaker feature meets these requirements?

    <p>Amazon SageMaker Feature Store (C)</p> Signup and view all the answers

    A company wants to use generative AI to increase developer productivity and software development. The company wants to use Amazon Q Developer. What can Amazon Q Developer do to help the company meet these requirements?

    <p>Create software snippets, reference tracking, and open source license tracking. (A)</p> Signup and view all the answers

    A financial institution is using Amazon Bedrock to develop an AI application. The application is hosted in a VPC. To meet regulatory compliance standards, the VPC is not allowed access to any internet traffic. Which AWS service or feature will meet these requirements?

    <p>AWS PrivateLink (A)</p> Signup and view all the answers

    A company wants to develop an educational game where users answer questions such as the following: "A jar contains six red, four green, and three yellow marbles. What is the probability of choosing a green marble from the jar?" Which solution meets these requirements with the LEAST operational overhead?

    <p>Use code that will calculate probability by using simple rules and computations. (D)</p> Signup and view all the answers

    Which metric measures the runtime efficiency of operating AI models?

    <p>Average response time (C)</p> Signup and view all the answers

    A company is building a contact center application and wants to gain insights from customer conversations. The company wants to analyze and extract key information from the audio of the customer calls. Which solution meets these requirements?

    <p>Transcribe call recordings by using Amazon Transcribe. (A)</p> Signup and view all the answers

    A company has petabytes of unlabeled customer data to use for an advertisement campaign. The company wants to classify its customers into tiers to advertise and promote the company's products. Which methodology should the company use to meet these requirements?

    <p>Unsupervised learning (B)</p> Signup and view all the answers

    An AI practitioner wants to use a foundation model (FM) to design a search application. The search application must handle queries that have text and images. Which type of FM should the AI practitioner use to power the search application?

    <p>Multi-modal embedding model (C)</p> Signup and view all the answers

    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?

    <p>Provide labeled data with the prompt field and the completion field. (A)</p> Signup and view all the answers

    A company wants to use AI to protect its application from threats. The AI solution needs to check if an IP address is from a suspicious source. Which solution meets these requirements?

    <p>Develop an anomaly detection system. (A)</p> Signup and view all the answers

    Which feature of Amazon OpenSearch Service gives companies the ability to build vector database applications?

    <p>Scalable index management and nearest neighbor search capability (A)</p> Signup and view all the answers

    Which option is a use case for generative AI models?

    <p>Creating photorealistic images from text descriptions for digital marketing (C)</p> Signup and view all the answers

    A company wants to build a generative AI application by using Amazon Bedrock and needs to choose a foundation model (FM). The company wants to know how much information can fit into one prompt. Which consideration will inform the company's decision?

    <p>Context window (C)</p> Signup and view all the answers

    A company wants to make a chatbot to help customers. The chatbot will help solve technical problems without human intervention. The company chose a foundation model (FM) for the chatbot. The chatbot needs to produce responses that adhere to company tone. Which solution meets these requirements?

    <p>Experiment and refine the prompt until the FM produces the desired responses. (D)</p> Signup and view all the answers

    A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company wants to classify the sentiment of text passages as positive or negative. Which prompt engineering strategy meets these requirements?

    <p>Provide examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified. (D)</p> Signup and view all the answers

    A security company is using Amazon Bedrock to run foundation models (FMs). The company wants to ensure that only authorized users invoke the models. The company needs to identify any unauthorized access attempts to set appropriate AWS Identity and Access Management (IAM) policies and roles for future iterations of the FMs. Which AWS service should the company use to identify unauthorized users that are trying to access Amazon Bedrock?

    <p>AWS CloudTrail (A)</p> Signup and view all the answers

    A company has developed an ML model for image classification. The company wants to deploy the model to production so that a web application can use the model. The company needs to implement a solution to host the model and serve predictions without managing any of the underlying infrastructure. Which solution will meet these requirements?

    <p>Use Amazon SageMaker Serverless Inference to deploy the model. (D)</p> Signup and view all the answers

    An AI company periodically evaluates its systems and processes with the help of independent software vendors (ISVs). The company needs to receive email message notifications when an ISV's compliance reports become available. Which AWS service can the company use to meet this requirement?

    <p>AWS Artifact (C)</p> Signup and view all the answers

    A company wants to use a large language model (LLM) to develop a conversational agent. The company needs to prevent the LLM from being manipulated with common prompt engineering techniques to perform undesirable actions or expose sensitive information. Which action will reduce these risks?

    <p>Create a prompt template that teaches the LLM to detect attack patterns. (B)</p> Signup and view all the answers

    A company is using the Generative AI Security Scoping Matrix to assess security responsibilities for its solutions. The company has identified four different solution scopes based on the matrix. Which solution scope gives the company the MOST ownership of security responsibilities?

    <p>Building and training a generative AI model from scratch by using specific data that a customer owns. (B)</p> Signup and view all the answers

    An AI practitioner has a database of animal photos. The AI practitioner wants to automatically identify and categorize the animals in the photos without manual human effort. Which strategy meets these requirements?

    <p>Object detection (A)</p> Signup and view all the answers

    A company wants to create an application by using Amazon Bedrock. The company has a limited budget and prefers flexibility without long-term commitment. Which Amazon Bedrock pricing model meets these requirements?

    <p>On-Demand (A)</p> Signup and view all the answers

    Which AWS service or feature can help an AI development team quickly deploy and consume a foundation model (FM) within the team's VPC?

    <p>Amazon SageMaker JumpStart (D)</p> Signup and view all the answers

    How can companies use large language models (LLMs) securely on Amazon Bedrock?

    <p>Design clear and specific prompts. Configure AWS Identity and Access Management (IAM) roles and policies by using least privilege access. (B)</p> Signup and view all the answers

    A company has terabytes of data in a database that the company can use for business analysis. The company wants to build an AI-based application that can build a SQL query from input text that employees provide. The employees have minimal experience with technology. Which solution meets these requirements?

    <p>Generative pre-trained transformers (GPT) (B)</p> Signup and view all the answers

    A company built a deep learning model for object detection and deployed the model to production. Which AI process occurs when the model analyzes a new image to identify objects?

    <p>Inference (B)</p> Signup and view all the answers

    An AI practitioner is building a model to generate images of humans in various professions. The AI practitioner discovered that the input data is biased and that specific attributes affect the image generation and create bias in the model. Which technique will solve the problem?

    <p>data augmentation for imbalanced classes (B)</p> Signup and view all the answers

    A company is implementing the Amazon Titan foundation model (FM) by using Amazon Bedrock. The company needs to supplement the model by using relevant data from the company's private data sources. Which solution will meet this requirement?

    <p>Create an Amazon Bedrock knowledge base. (C)</p> Signup and view all the answers

    A medical company is customizing a foundation model (FM) for diagnostic purposes. The company needs the model to be transparent and explainable to meet regulatory requirements. Which solution will meet these requirements?

    <p>Generate simple metrics, reports, and examples by using Amazon SageMaker Clarify. (B)</p> Signup and view all the answers

    A company wants to deploy a conversational chatbot to answer customer questions. The chatbot is based on a fine-tuned Amazon SageMaker JumpStart model. The application must comply with multiple regulatory frameworks. Which capabilities can the company show compliance for? (Choose two.)

    <p>Threat detection (A), Data protection (E)</p> Signup and view all the answers

    Study Notes

    Exam A Questions

    • Question 1: An Al practitioner needs to include partial dependence plots (PDPs) in a report about trained ML models to ensure transparency and explainability to stakeholders.

    • Question 2: A summarization chatbot is the solution to read legal documents and extract key points using large language models (LLMs).

    • Question 3: Decision trees are the ML algorithm for classifying human genes into 20 categories based on gene characteristics, especially to document the model's internal mechanism's impact on output.

    • Question 4: Accuracy is the evaluation metric to measure the correctly classified images of plant diseases by the image classification model.

    Exam A Questions (Page 2)

    • Question 5: Adjusting the prompt will align the large language model (LLM) response quality with the company's expectations regarding length and language.

    • Question 6: Asynchronous inference in SageMaker is the option that meets the near real-time latency requirements for input data sizes up to 1 GB and processing times up 1 hour.

    • Question 7: Transfer learning is the ML strategy to adapt pre-trained models for new, related tasks avoiding creating new models from scratch.

    • Question 8: Root Mean Squared Error (RMSE) is not the correct answer as per the provided information in the questions.

    Exam A Questions (Page 3)

    • Question 9: Ensure the role used by Amazon Bedrock has permission to decrypt data encrypted with Amazon S3 managed keys.

    • Question 10: Deploying optimized small language models (SLMs) on edge devices is the most efficient way for inference with the least latency.

    • Question 11: Amazon SageMaker Feature Store is the feature for managing and sharing variables for model development across different teams.

    Exam A Questions (Page 4)

    • Question 12: Run an application without server provisioning or management is the task Amazon Q Developer can perform to increase developer productivity.

    • Question 13: AWS PrivateLink will meet the regulatory compliance standards by ensuring the VPC doesn't have access to internet traffic.

    • Question 14: Using code for simple probability calculations with the least operational overhead is the most effective solution for the educational game.

    • Question 15: The metric measuring runtime efficiency of Al models is average response time.

    Exam A Questions (Page 5)

    • Question 16: Transcribing call recordings using Amazon Transcribe is the best solution to gain insights from customer conversations.

    • Question 17: Unsupervised learning is the methodology to classify customers into tiers for advertising and product promotion using petabytes of unlabeled data.

    • Question 18: A multi-modal embedding model is the foundation model for a search application that handles text and images.

    • Question 19: Providing labeled data with the prompt field and completion field is the strategy for fine-tuning the foundation model with the company's data.

    Exam A Questions (Page 6)

    • Question 20: Developing an anomaly detection system is the solution to protect an application from threats by checking IP addresses for suspicious sources.

    • Question 21: Scalable index management and nearest neighbour search capability in Amazon OpenSearch Service is the feature for building vector databases.

    • Question 22: Improving network security using intrusion detection systems is a use case for generative Al models.

    • Question 23: Context window of a foundation model (FM) determines how much information can fit into one prompt for a generative Al application built using Amazon Bedrock.

    Exam A Questions (Page 7)

    • Question 24: Experimenting and refining the prompt will ensure the foundation model (FM) chatbot produces responses that adhere to company tone.

    • Question 25: Providing examples of text passages with corresponding positive or negative sentiments followed by the new text passage to be classified is the best prompt engineering strategy for sentiment analysis.

    • Question 26: AWS CloudTrail is the service to identify unauthorized users attempting to access Amazon Bedrock.

    • Question 27: The specific question about the deployment of the image classification model to production cannot be provided as there is no solution mentioned in the page.

    Exam A Questions (Page 8)

    • Question 28: AWS Artifact is the AWS service that can be utilized by an Al company to receive email notifications when ISV compliance reports become available.

    • Question 29: Creating a prompt template is essential to teach LLMs to detect attack patterns and reduce manipulation risks.

    • Question 30: Building and training a generative Al model from the scratch (i.e., using own data) gives the most ownership of security responsibilities in solutions.

    Exam A Questions (Page 9)

    • Question 31: Object detection is the strategy to automatically identify and categorize animals in photos.

    • Question 32: On-Demand is the Amazon Bedrock pricing model ideal for applications with a limited budget and requiring flexibility without long-term commitment.

    • Question 33: Amazon SageMaker JumpStart is the AWS service that helps the Al development team quickly deploy and consume a foundation model within the team's VPC.

    • Question 34: Clear prompts with least privileges IAM roles and policies within AWS Identity and Access Management (IAM) is the most secure solution for using LLMs on Amazon Bedrock.

    Exam A Questions (Page 10)

    • Question 35: Generative pre-trained transformers (GPT) is the solution for building an Al-based application to generate SQL queries from employee input text and with minimal experience with technology.

    • Question 36: Inference is the Al process that the model performs when analyzing a new image to identify objects.

    • Question 37: Data augmentation for imbalanced classes is the technique to solve the issue of biased input data and attributes which affect their generation as it will adjust the data.

    • Question 38: Creating an Amazon Bedrock knowledge base is the solution to supplement the foundation model to improve accuracy by using relevant data from the company's private data sources.

    Exam A Questions (Page 11)

    • Question 39: Generating simple metrics, reports, and examples by using Amazon SageMaker Clarify is the solution that enables a transparent and explainable foundation model.

    • Question 40: To comply with multiple regulatory frameworks, the conversational chatbot solution should include auto-scaling inference endpoints (choosing two) and data protection features.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    TestA.pdf PDF

    Description

    Test your understanding of machine learning concepts with Exam A questions. This quiz covers topics such as decision trees, evaluation metrics, and the use of large language models in various applications. Prepare to explain algorithms and their implications in real-world scenarios.

    More Like This

    Decision Trees in Machine Learning
    18 questions
    Decision Trees in Machine Learning
    21 questions

    Decision Trees in Machine Learning

    MesmerizingGyrolite5380 avatar
    MesmerizingGyrolite5380
    Machine Learning Decision Trees Quiz
    45 questions
    Use Quizgecko on...
    Browser
    Browser