ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Concept

AI, machine learning and generative AI

What AI, machine learning and generative AI mean, and which AWS service does which AI task.

  • Artificial intelligence (AI)

    Computers doing tasks that usually need human intelligence, such as seeing, listening and understanding language.

  • Machine learning (ML)

    A branch of AI in which a model learns patterns from example data, then makes predictions about new data.

  • Generative AI

    A type of AI that creates new content, such as text, images and code, using very large foundation models.

Three terms, each part of the one before: generative AI is built on ML, and ML is a branch of AI.
  • Build a chatbot or voice bot

    Input → output
    Spoken or typed questions → replies and completed tasks
    Service
    Lex
  • Turn text into speech

    Input → output
    Text → lifelike speech
    Service
    Polly
  • Turn speech into text

    Input → output
    Speech → written text
    Service
    Transcribe
  • Translate text into another language

    Input → output
    Text in one language → the same text in another
    Service
    Translate
  • Find the meaning in text

    Input → output
    Text → sentiment, key phrases, names and places
    Service
    Comprehend
  • Analyze images and video

    Input → output
    Images and video → objects, faces, text and unsafe content
  • Get text and data out of documents

    Input → output
    Scanned documents → text, form fields and tables
    Service
    Textract
  • Get help from a generative AI assistant

    Input → output
    Questions in plain language → answers, summaries and code
    Service
    Amazon Q
  • Build and train your own model

    Input → output
    Your own data → a model that makes predictions
Which AWS service does which AI task. The first seven are pre-trained AI services.

1 / 4

  • Build a chatbot or voice bot

    Input → output
    Spoken or typed questions → replies and completed tasks
    Service
    Lex
  • Turn text into speech

    Input → output
    Text → lifelike speech
    Service
    Polly
  • Turn speech into text

    Input → output
    Speech → written text
    Service
    Transcribe

2 / 4

  • Translate text into another language

    Input → output
    Text in one language → the same text in another
    Service
    Translate
  • Find the meaning in text

    Input → output
    Text → sentiment, key phrases, names and places
    Service
    Comprehend

3 / 4

  • Analyze images and video

    Input → output
    Images and video → objects, faces, text and unsafe content
  • Get text and data out of documents

    Input → output
    Scanned documents → text, form fields and tables
    Service
    Textract

4 / 4

  • Get help from a generative AI assistant

    Input → output
    Questions in plain language → answers, summaries and code
    Service
    Amazon Q
  • Build and train your own model

    Input → output
    Your own data → a model that makes predictions
Which AWS service does which AI task. The first seven are pre-trained AI services.

What it is

Artificial intelligence (AI) is the broad idea of computers doing tasks that usually need human intelligence, such as understanding speech, reading documents or recognizing faces. Machine learning (ML) is one branch of AI. Instead of following rules that people write, an ML model learns patterns from example data. This is called training. The trained model then makes predictions about new data, which is called inference.

What it is

Generative AI is a type of AI that creates new content, such as text, images, code and conversations. It runs on foundation models: very large ML models, trained on huge amounts of data, that can be used for many different tasks. Large language models (LLMs) are one kind of foundation model, built to work with text.

What it is

For the exam, the AWS AI services fall into three groups. Pre-trained AI services each focus on one kind of task, such as turning speech into text or analyzing images. AWS has already trained their models, so you send data and get a result back, with no ML skills. Amazon SageMaker AI is for teams that build, train and deploy their own models. Amazon Q is a ready-made generative AI assistant.

Remember

  • ML is one branch of AI. Generative AI is a type of AI built on very large ML models.
  • Training: a model learns from example data. Inference: the trained model makes predictions about new data.
  • Pre-trained AI services need no ML skills. You send data, get results and pay for what you use.
  • Speech: Amazon Transcribe listens, Amazon Polly speaks, and Amazon Lex holds a conversation.

Remember

  • Text: Amazon Translate changes the language, Amazon Comprehend finds the meaning, and Amazon Textract gets text out of documents.
  • Images and video: Amazon Rekognition. Your own models: Amazon SageMaker AI. A ready-made assistant: Amazon Q.

On the exam

  • “Add AI to an application with no machine learning expertise” points to a pre-trained AI service. Match the task in the question to the service.
  • “Build, train and deploy custom machine learning models” points to Amazon SageMaker AI.
  • “Create new content, such as text, images or code” describes generative AI.