AWS Certified SysOps Administrator – Associate (legacy) — Question 791
Which of the following Identity and Access Management (IAM) policy keys of AWS Direct Con-nect is used for date/time conditions?
Answer options
- A. aws:CurrentTime
- B. aws:UserAgent
- C. aws:SourceIp
- D. aws:SecureTransport
Correct answer: A
Explanation
The aws:CurrentTime key is a global condition key used in IAM policies to compare the date and time of the request against a specified value. In contrast, aws:SecureTransport checks if the request was sent via HTTPS, while aws:SourceIp and aws:UserAgent evaluate the caller's IP address and client application respectively.