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)
Related DVA-C02 questions
- A developer configures an Amazon ECR private registry to use basic scanning with scan on push.Security
- A company wants API Gateway to strongly authenticate client devices using X.509 client certificates, in addition to (or…Security
- A team stores database credentials in AWS Secrets Manager in us-east-1 with automatic rotation turned on.Security
- A company wants its Lambda functions to accept only deployment packages that its approved CI/CD pipeline has signed.Security
All 67 free DVA-C02 questions by domain · 15 sample questions on one page
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.