Curated

Fundamentals of GenAI (2.1–2.3)

0 votes

Questions72

  1. Question 51

    Fundamentals of GenAI

    Which FM lifecycle activity collects user ratings and reported failures from a deployed application to inform future improvements?

    Show the answer

    Correct answerA. Feedback

    AWhy this is right: Feedback captures user reactions and observed problems to inform subsequent improvements.

    BWhy not this: Pre-training learns broad patterns from training data rather than collecting production reports.

    CWhy not this: Deployment makes the model available for use; collecting user reactions is a separate activity.

    DWhy not this: Model selection chooses a model that fits requirements rather than collecting users' experiences.

    Feedback captures real-world experiences, such as user ratings and reported failures, to guide improvements. Deployment makes the application available but does not itself collect those experiences.

    Open this question
  2. Question 52

    Fundamentals of GenAI

    An assistant produces lengthy answers when users need only brief responses. Using the same model and prompt, which change would MOST directly reduce output-token charges and generation time?

    Show the answer

    Correct answerA. Lower the maximum output-token limit

    AWhy this is right: A lower output limit caps generated tokens, reducing charges and generation time when responses would otherwise exceed that cap.

    BWhy not this: Lower temperature changes randomness but does not directly cap output length or output-token charges.

    CWhy not this: A larger context capacity does not reduce the tokens generated for an unchanged prompt.

    DWhy not this: A higher output limit permits longer responses rather than directly reducing their cost or generation time.

    A lower output-token limit can shorten unnecessarily long responses, reducing billed output tokens and generation time. Temperature changes sampling behavior, not the permitted response length.

    Open this question
  3. Question 53

    Fundamentals of GenAI

    Which metric measures total monthly revenue divided by the number of users that month for a GenAI subscription application?

    Show the answer

    Correct answerC. Average revenue per user

    AWhy not this: Customer lifetime value considers the customer relationship over time, not revenue per user for one month.

    BWhy not this: Return on investment compares net benefits with investment costs.

    CWhy this is right: Average revenue per user divides period revenue by the corresponding user count.

    DWhy not this: Conversion rate measures the proportion of users who complete a desired action.

    Average revenue per user divides revenue for a period by the number of users in that period. Customer lifetime value estimates a customer's value over the full relationship rather than a single month's revenue per user.

    Open this question
  4. Question 54

    Fundamentals of GenAI

    A shared GenAI assistant achieves 92% overall accuracy, but most evaluation examples come from sales rather than finance or legal. Which evaluation would BEST determine its suitability across all departments?

    Show the answer

    Correct answerB. Measure task accuracy separately for each department

    AWhy not this: Response volume measures usage or throughput rather than departmental task success.

    BWhy this is right: Separate accuracy measurements expose performance differences between business domains.

    CWhy not this: Combined latency measures responsiveness, not task quality within each business domain.

    DWhy not this: Sales-only consistency does not establish accuracy in finance or legal.

    Department-specific accuracy reveals whether performance transfers across business domains. Overall accuracy can hide weak finance or legal results when sales examples dominate the evaluation.

    Open this question
  5. Question 55

    Fundamentals of GenAI

    A company requires at least 95% task accuracy and 95th-percentile latency below 2 seconds at production load. All candidates meet compliance requirements; which benchmark result offers the lowest cost while meeting the requirements?

    Show the answer

    Correct answerC. Accuracy 96%; p95 1.8 s; $3 per million tokens

    AWhy not this: The price is lowest, but the 2.4-second p95 latency exceeds the required limit.

    BWhy not this: Both thresholds are met, but another eligible candidate has a lower token price.

    CWhy this is right: Both performance thresholds are met at the lowest cost among eligible candidates.

    DWhy not this: Latency is acceptable, but 94% accuracy falls below the required minimum.

    The 96%-accurate model meets the latency limit and costs less than the other eligible model. The cheapest model fails the required 95th-percentile latency limit despite its higher accuracy.

    Open this question
  6. Question 56

    Fundamentals of GenAI

    Employees previously spent 30 minutes writing each report; a GenAI assistant now drafts it in 2 minutes, followed by 18 minutes of employee review and correction. Which measure BEST demonstrates the labor-efficiency improvement?

    Show the answer

    Correct answerC. Employee time saved per accepted report

    AWhy not this: Draft volume does not establish how much employee effort an accepted report requires.

    BWhy not this: Generation speed excludes employee review and correction effort.

    CWhy this is right: It measures the reduction in human effort required to deliver a usable report.

    DWhy not this: Correction frequency indicates quality but does not measure the amount of labor saved.

    Employee time per accepted report captures the actual labor reduction, including review and correction. Generation speed alone can overstate business efficiency by ignoring the human work needed to make outputs usable.

    Open this question
  7. Question 57

    Fundamentals of GenAI

    A healthcare company requires patient data to remain within an approved geographic region during inference. What should it verify before comparing model quality?

    Show the answer

    Correct answerC. The deployment's data processing locations

    AWhy not this: Inference cost affects affordability, not whether processing stays within the approved region.

    BWhy not this: Medical benchmarks assess task performance, not where patient data is processed.

    CWhy this is right: Processing locations determine whether inference meets the geographic restriction.

    DWhy not this: Explaining medical terms demonstrates capability but does not establish geographic compliance.

    Data processing locations must satisfy the company's geographic restriction before a deployment is eligible. Medical benchmark performance measures capability, not compliance with data residency requirements.

    Open this question
  8. Question 58

    Fundamentals of GenAI

    A company proposes deploying its generative AI application in a second AWS Region to continue serving users during a regional outage. What cost tradeoff should it expect?

    Show the answer

    Correct answerC. Higher operating costs in exchange for greater regional resilience

    AWhy not this: Adding a Region does not inherently lower token rates; pricing depends on the selected model and Region.

    BWhy not this: Replicating application data generally adds storage costs rather than reducing them.

    CWhy this is right: Maintaining resources and data across Regions adds cost while supporting continuity during a regional outage.

    DWhy not this: Regional redundancy does not require model customization or increase a model's context window.

    A multi-Region design can improve resilience to regional outages but adds costs for resources, data replication, and operations. Deploying in another Region does not itself reduce model token rates.

    Open this question
  9. Question 59

    Fundamentals of GenAI

    A company wants to send confidential prompts to Amazon Bedrock but is concerned that model providers will use them for training. Which Bedrock protection addresses this concern?

    Show the answer

    Correct answerA. Prompts and completions are not used to train base models.

    AWhy this is right: Bedrock does not use prompts and completions to train base models or distribute them to model providers.

    BWhy not this: Role-based permissions control who can invoke models, rather than how submitted prompts are used.

    CWhy not this: Encryption protects traffic from interception, rather than determining whether submitted data is used for training.

    DWhy not this: Audit records help investigate activity but do not establish a restriction on training-data use.

    Amazon Bedrock does not use prompts and completions to train its base models or distribute them to model providers. Encryption protects data in transit, but does not itself establish how data may be used.

    Open this question
  10. Question 60

    Fundamentals of GenAI

    A healthcare company uses Amazon Bedrock and needs evidence of infrastructure compliance, restricted access to patient data, and validation of generated advice. Which allocation of responsibilities BEST meets these requirements?

    Show the answer

    Correct answerB. AWS secures underlying infrastructure; the company configures data access and validates advice using its compliance requirements.

    AWhy not this: AWS infrastructure certifications do not automatically certify a customer's application.

    BWhy this is right: This correctly separates AWS infrastructure security from customer responsibilities for access, compliance, and output validation.

    CWhy not this: AWS compliance evidence supports assessments, but AWS does not validate the application's clinical advice.

    DWhy not this: Customers must configure application access controls; AWS does not assume that responsibility for them.

    AWS secures the underlying infrastructure, while the customer remains responsible for application access, appropriate use, and output validation. AWS compliance certifications can support an assessment but do not certify the customer's application.

    Open this question
  11. Question 61

    Fundamentals of GenAI

    What is a potential tradeoff of choosing a smaller, lower-priced foundation model for a generative AI application?

    Show the answer

    Correct answerB. Lower accuracy on complex reasoning tasks

    AWhy not this: A lower-cost model still requires evaluation against the application's quality requirements.

    BWhy this is right: Smaller models may cost less but provide weaker performance on demanding reasoning tasks.

    CWhy not this: Model size does not determine the durability of application data storage.

    DWhy not this: Regional availability depends on service and model support, not simply model size.

    A smaller model can reduce inference costs but may perform less well on complex reasoning tasks. Lower pricing does not reduce the need to evaluate whether the model meets application quality requirements.

    Open this question
  12. Question 62

    Fundamentals of GenAI

    A company processes thousands of independent document summaries overnight using a Bedrock model that supports batch inference. Results are not needed interactively, and the company wants lower inference charges without changing models; which approach BEST fits?

    Show the answer

    Correct answerB. Submit the summaries through batch inference.

    AWhy not this: Latency optimization prioritizes faster responses, which this workload does not require.

    BWhy this is right: Batch inference trades immediate responses for lower inference pricing on supported models.

    CWhy not this: On-demand inference supports immediate requests but misses the available batch-pricing benefit.

    DWhy not this: Reserved capacity addresses throughput needs; delay-tolerant bulk processing is better matched to batch pricing.

    Batch inference offers lower pricing than on-demand inference for supported models when immediate responses are unnecessary. Provisioned Throughput reserves capacity, but is not the best fit merely because a workload contains many delay-tolerant requests.

    Open this question
  13. Question 63

    Fundamentals of GenAI

    Why can identical input and output token counts produce different inference charges when using different foundation models?

    Show the answer

    Correct answerB. Models can have different per-token rates.

    AWhy not this: Pre-training duration is not the billing unit for token-based inference requests.

    BWhy this is right: Each model's published input and output token rates determine its token-based charge.

    CWhy not this: Context-window capacity does not by itself determine the price charged for a given token count.

    DWhy not this: Parameter count can influence pricing decisions but is not the billed unit in token-based inference.

    Token prices can differ by model, so equal token counts need not produce equal charges. A context-window limit determines capacity, not the rate charged for those tokens.

    Open this question
  14. Question 64

    Fundamentals of GenAI

    A model charges $1 per million input tokens and $5 per million output tokens. A revised prompt adds 1,000 input tokens but saves 300 output tokens per request without reducing quality; how does the token charge change?

    Show the answer

    Correct answerA. It decreases by $0.0005 per request.

    AWhy this is right: The $0.0015 output saving exceeds the $0.001 added input charge by $0.0005.

    BWhy not this: This counts the added input charge but ignores the savings from fewer output tokens.

    CWhy not this: This treats the net increase of 700 tokens as though input and output tokens had the same price.

    DWhy not this: This counts the output savings but ignores the charge for the additional input tokens.

    The added input costs $0.001, while the avoided output saves $0.0015, giving a net saving of $0.0005. Counting the net increase of 700 tokens ignores the different input and output rates.

    Open this question
  15. Question 65

    Fundamentals of GenAI

    What is the primary purpose of context engineering in a foundation model application?

    Show the answer

    Correct answerA. Assemble relevant information for the model at inference.

    AWhy this is right: Context engineering prepares the information available to the model when it responds.

    BWhy not this: Updating model weights with specialized examples describes fine-tuning.

    CWhy not this: Learning broad patterns from a large corpus describes pre-training.

    DWhy not this: Measuring performance on held-out data describes evaluation.

    Context engineering assembles the information a model needs when handling a request, such as instructions, retrieved content, and tool results. Fine-tuning instead changes model weights through additional training.

    Open this question
  16. Question 66

    Fundamentals of GenAI

    A document assistant sometimes treats instructions quoted inside uploaded documents as application rules. Which context-engineering change BEST distinguishes source material from instructions the assistant should follow?

    Show the answer

    Correct answerC. Separate trusted instructions from clearly labeled document content.

    AWhy not this: An output limit controls response length, not the authority of supplied text.

    BWhy not this: Smaller passages can aid retrieval but do not distinguish application instructions from quoted text.

    CWhy this is right: Explicit roles and content boundaries clarify what governs behavior and what is only source material.

    DWhy not this: More examples of the same source content do not establish a trusted instruction boundary.

    Separating trusted instructions from labeled source content helps the model distinguish application rules from material to analyze. Chunking changes passage size but does not establish which text has instructional authority.

    Open this question
  17. Question 67

    Fundamentals of GenAI

    An application removes redundant text from each prompt while keeping the model, useful information, and output length unchanged. Under uncached token-based pricing, what effect should the team expect?

    Show the answer

    Correct answerA. Lower input charges and potentially faster input processing.

    AWhy this is right: A shorter prompt costs less to process and can reduce the time spent processing input.

    BWhy not this: Removing redundant text reduces input charges; improved answer quality is not established.

    CWhy not this: Fewer billed input tokens reduce the charge under the stated pricing assumptions.

    DWhy not this: Prompt reduction affects input tokens; unchanged output length does not reduce output charges.

    Removing redundant prompt text reduces billed input tokens and can reduce input-processing latency. Output charges do not decrease when the generated output token count stays unchanged.

    Open this question
  18. Question 68

    Fundamentals of GenAI

    What enables an AI agent to perform an external action, such as submitting an approved service request?

    Show the answer

    Correct answerC. Invoking a tool that calls a service API

    AWhy not this: An embedding represents meaning numerically; it does not submit a service request.

    BWhy not this: A summary describes the action but does not perform it in the external system.

    CWhy this is right: An API-connected tool can execute the external operation the agent is authorized to perform.

    DWhy not this: Examples provide reference information but do not execute the requested operation.

    Tool usage lets an agent invoke external capabilities, such as an API that submits a request. Generating a description of an action does not execute that action.

    Open this question
  19. Question 69

    Fundamentals of GenAI

    Which agent capability stores a user's approved preferences so they can be retrieved during future sessions?

    Show the answer

    Correct answerD. Persistent long-term memory

    AWhy not this: A message queue supports communication between agents rather than serving as a user preference memory.

    BWhy not this: An output-token allowance controls response length rather than retention across sessions.

    CWhy not this: A temporary buffer holds intermediate results rather than durable user preferences.

    DWhy this is right: Persistent memory stores information beyond the current session for later retrieval.

    Persistent long-term memory retains information across sessions for later retrieval. A temporary tool-result buffer holds intermediate data but is not intended to preserve user preferences across sessions.

    Open this question
  20. Question 70

    Fundamentals of GenAI

    An assistant receives a successful order-status lookup but answers using an older status still present in its context. Without changing model weights, which change BEST addresses this failure?

    Show the answer

    Correct answerB. Replace superseded status data with the latest lookup result.

    AWhy not this: Fine-tuning changes model weights and does not supply the current status of an individual order.

    BWhy this is right: Replacing superseded data makes the current lookup result the relevant state available for the answer.

    CWhy not this: A larger output allowance permits longer answers but does not resolve conflicting input data.

    DWhy not this: Formatting examples guide presentation rather than establish which order status is current.

    Context engineering should supply authoritative current state and remove superseded information that can compete with it. Adding formatting examples changes response guidance but does not resolve conflicting order-status data.

    Open this question
  21. Question 71

    Fundamentals of GenAI

    An agentic workflow must complete a stock check before preparing a purchase proposal and recover from temporary stock-service failures. Which orchestration controls directly meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersC. Configure bounded retries and a failure path for stock-service calls.D. Set a dependency requiring a successful stock check before proposal preparation.

    AWhy not this: More context capacity does not enforce execution order or recover from failed service calls.

    BWhy not this: Drafting before the stock check violates the required task dependency.

    CWhy this is right: Bounded retries handle transient failures, and a failure path defines what happens if recovery fails.

    DWhy this is right: A task dependency prevents proposal preparation from proceeding without a successful stock check.

    EWhy not this: Similarity matching helps find related requests but does not control execution order or failure recovery.

    FWhy not this: Fine-tuning can affect proposal quality but does not implement workflow dependencies or retries.

    Workflow orchestration manages task dependencies and failure handling. A dependency enforces the required order, while bounded retries and a failure path address temporary service errors; a larger context window provides neither control.

    Open this question
  22. Question 72

    Fundamentals of GenAI

    A customer support application has specialist agents for billing, shipping and technical issues. Each incoming request concerns only one of these areas and should be handed to the specialist that covers it. Which multi-agent pattern BEST fits?

    Show the answer

    Correct answerA. A router agent that classifies and dispatches each request

    AWhy this is right: A router identifies the area of each request and sends it to the one matching specialist.

    BWhy not this: A supervisor delegates parts of a task to several specialists and merges their results, which these single-area requests do not need.

    CWhy not this: Peer coordination spreads decisions across agents instead of sending each request straight to its specialist.

    DWhy not this: A fixed chain passes every request through all specialists, even though only one is relevant.

    A router pattern classifies each request and sends it to the single agent best suited to it. A supervisor pattern is meant for tasks that need several specialists' work combined, which adds steps these one-area requests do not need.

    Open this question