In Cloudfront, what is the Origin Protocol policy that must be chosen to ensure that the communication with the origin is done either via HTTP or HTTPS? Choose an answer from the options below.
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - C.
It is clearly given in the AWS documentation that the Origin Protocol Policy should be set accordingly.
Options A, B, and D are all incorrect because the answer is Match Viewer.
Option C is CORRECT because if the Origin Protocol Policy is set to Match Viewer, the CloudFront communicates with the origin using HTTP or HTTPS, depending on the viewer's protocol.
For more information on Cloudfront CDN, please see the below link-
http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.htmlThe correct answer is C. Match Viewer.
When using Amazon CloudFront as a content delivery network, the Origin Protocol Policy determines the protocol that CloudFront uses to communicate with the origin server.
There are three options for the Origin Protocol Policy:
The Match Viewer option is useful when you want to ensure that communication with the origin is done either via HTTP or HTTPS, depending on the viewer's request. This is important because HTTPS is a more secure protocol, but there are some situations where using HTTP is necessary, such as when the origin server doesn't support HTTPS.
Therefore, the correct option to choose when you want to ensure that the communication with the origin is done either via HTTP or HTTPS is the Match Viewer option.