Skip to main content

DVA-C02 practice question · Security

An IAM policy needs to restrict access so that a set of API calls can only succeed when made over an encrypted (HTTPS)…

An IAM policy needs to restrict access so that a set of API calls can only succeed when made over an encrypted (HTTPS) connection. Which IAM condition key enforces this?

  • Aaws:SecureTransport
  • Baws:CurrentTime alone
  • Caws:RequestedRegion
  • Daws:PrincipalOrgID
Show the answer and explanation

Correct answer: A) aws:SecureTransport

Why each option is right or wrong

  • A) Correct. The aws:SecureTransport condition key evaluates whether the request was made using SSL/TLS; a policy denying requests where this is false enforces that only encrypted connections are allowed to succeed.
  • B) Incorrect. aws:CurrentTime restricts access based on time of day, not on whether the connection itself was encrypted.
  • C) Incorrect. aws:RequestedRegion restricts which AWS Region an action can target, unrelated to whether the transport is encrypted.
  • D) Incorrect. aws:PrincipalOrgID restricts access to principals within a specific AWS Organization; it doesn't evaluate whether the connection used TLS.
Exam domain
Security · 26% of DVA-C02
Question type
Multiple choice (one answer)

Practise the full DVA-C02 exam

This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.

Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.