ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 91 - DVA-C02 discussion

Report
Export

An organization is using Amazon CloudFront to ensure that its users experience low-latency access to its web application. The organization has identified a need to encrypt all traffic between users and CloudFront, and all traffic between CloudFront and the web application.

How can these requirements be met? (Select TWO)

A.
Use AWS KMS t0 encrypt traffic between cloudFront and the web application.
Answers
A.
Use AWS KMS t0 encrypt traffic between cloudFront and the web application.
B.
Set the Origin Protocol Policy to "HTTPS Only".
Answers
B.
Set the Origin Protocol Policy to "HTTPS Only".
C.
Set the Origin's HTTP Port to 443.
Answers
C.
Set the Origin's HTTP Port to 443.
D.
Set the Viewer Protocol Policy to "HTTPS Only" or Redirect HTTP 10 HTTPS"
Answers
D.
Set the Viewer Protocol Policy to "HTTPS Only" or Redirect HTTP 10 HTTPS"
E.
Enable the CloudFront option Restrict Viewer Access.
Answers
E.
Enable the CloudFront option Restrict Viewer Access.
Suggested answer: B, D

Explanation:

This solution will meet the requirements by ensuring that all traffic between users and CloudFront, and all traffic between CloudFront and the web application, are encrypted using HTTPS protocol. The Origin Protocol Policy determines how CloudFront communicates with the origin server (the web application), and setting it to "HTTPS Only" will force CloudFront to use HTTPS for every request to the origin server. The Viewer Protocol Policy determines how CloudFront responds to HTTP or HTTPS requests from users, and setting it to "HTTPS Only" or "Redirect HTTP to HTTPS" will force CloudFront to use HTTPS for every response to users. Option A is not optimal because it will use AWS KMS to encrypt traffic between CloudFront and the web application, which is not necessary or supported by CloudFront. Option C is not optimal because it will set the origin's HTTP port to 443, which is incorrect as port 443 is used for HTTPS protocol, not HTTP protocol. Option E is not optimal because it will enable the CloudFront option Restrict Viewer Access, which is used for controlling access to private content using signed URLs or signed cookies, not for encrypting traffic.

Reference: [Using HTTPS with CloudFront], [Restricting Access to Amazon S3 Content by Using an Origin Access Identity]

asked 16/09/2024
Farrah Colson
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first