Courseiva
mediumMultiple ChoiceObjective-mapped

AIF-C01 Practice Question: Using Amazon Comprehend to extract entities from…

A company is using Amazon Comprehend to extract entities from customer support tickets. The compliance team requires that the text sent to Comprehend be encrypted in transit and that Comprehend does not store any data beyond the processing time. How should the company configure the API call?

⚠ Common exam trap

Many exam-takers confuse encryption in transit with encryption at rest or data retention controls, leading them to overcomplicate the solution with KMS, SSE, or VPC endpoints when the simple use of HTTPS and the stateless nature of the API already meet the requirements.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use the HTTPS endpoint for the DetectEntities API and rely on Comprehend's stateless design

Amazon Comprehend's DetectEntities API is inherently stateless—it does not store any text or results beyond the processing time required to generate the response. By using the HTTPS endpoint, the company ensures encryption in transit via TLS, satisfying the compliance requirement without additional configuration. Comprehend does not persist data from synchronous API calls, so no data is retained after the response is returned.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Encrypt the text using AWS KMS before sending it to Comprehend

    Why it's wrong here

    Comprehend cannot process encrypted text; it requires plaintext input.

  • Use the AWS SDK with server-side encryption enabled for the API call

    Why it's wrong here

    Server-side encryption applies to data at rest, not in transit; the API call payload is plaintext.

  • Create a VPC endpoint for Comprehend and send requests over the private network

    Why it's wrong here

    VPC endpoint provides private connectivity but does not inherently encrypt the payload; HTTPS should be used.

  • Use the HTTPS endpoint for the DetectEntities API and rely on Comprehend's stateless design

    Why this is correct

    HTTPS provides encryption in transit; Comprehend does not store data after processing.

About these practice questions

This AIF-C01 question is part of Courseiva's 619-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.