AWS AI Practitioner AIF-C01 · Fundamentals of Generative AI · hard
Compare the two foundational neural network architectures powering modern Generative AI: Transformer models (such as Claude and Llama) versus Diffusion models (such as Stable Diffusion and Amazon Titan Image Generator). Which two statements accurately distinguish their core mechanisms and primary use cases? (Select two.)
Published · Last updated · checked before publication — how we verify questions
Options
Answers: A. Transformers use self-attention to predict tokens in text and code; D. Diffusion models generate images by iteratively denoising a latent state
Transformer models use self-attention mechanisms to model long-range token dependencies and predict tokens auto-regressively for text, code, and multimodal reasoning (A), whereas Diffusion models learn to iteratively remove Gaussian noise from a random latent tensor conditioned on a text prompt to synthesize high-resolution images (D).
Why the other options are wrong
- B. Diffusion models are used exclusively for sorting relational SQL tables — Diffusion models generate images/media by iterative denoising and are not relational database sorting algorithms.
- C. Transformers cannot process more than two words of input context at a time — Modern Transformer LLMs process context windows ranging from thousands to ratusan of thousands of tokens simultaneously via self-attention.
More Fundamentals of Generative AI questions
- An organization wants to equip its software engineers with an AI-powered coding assistant inside VS Code and JetBrains…
- As a rule of thumb in English-language Large Language Models (LLMs), roughly 1,000 tokens correspond to ~750 words (1…
- A non-technical product manager wants to experiment with prompt engineering and build a shareable generative AI web…
- A startup launches a prototype customer chatbot on Amazon Bedrock that currently processes 200 requests per day with…
- How do Vector Embeddings enable semantic search in a Retrieval-Augmented Generation (RAG) system?
- You are configuring an Amazon Bedrock foundation model to generate deterministic, factual SQL queries from…
All Fundamentals of Generative AI questions and the topic overview →
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.