nerdexam
AmazonAmazon

AIF-C01 · Question #18

AIF-C01 Question #18: Real Exam Question with Answer & Explanation

Sign in or unlock AIF-C01 to reveal the answer and full explanation for question #18. The question stem and answer options stay visible for context.

Submitted by chen.hong· Mar 30, 2026

Question

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?

Options

  • ACreate a prompt template that teaches the LLM to detect attack patterns.
  • BIncrease the temperature parameter on invocation requests to the LLM.
  • CAvoid using LLMs that are not listed in Amazon SageMaker.
  • DDecrease the number of input tokens on invocations of the LLM.

Unlock AIF-C01 to see the answer

You've previewed enough free AIF-C01 questions. Unlock AIF-C01 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Prompt injection mitigation#LLM security#Prompt engineering#AI guardrails
Full AIF-C01 PracticeBrowse All AIF-C01 Questions