ExamQuestions.com

Register
Login
AWS Certified Solutions Architect Professional Exam Questions

Amazon

AWS Certified Solutions Architect Professional

391 / 465

Question 391:

There is a requirement to create EMR jobs that sift through all web server logs and error logs to pull statistics on clickstream and errors based on client IP address. The web application uses HTTPS and is behind a Classic Load Balancer. How can the application be configured based on the above requirements?

Answer options:

A.Modify the application code to get the client IP from the X-Forwarded-Proto header or the X-Forwarded-Port header.
B.Configure ELB access logs. Then create a Data Pipeline job that imports the logs from an S3 bucket into EMR for analyzing and output the EMR data into a new S3 bucket.
C.Modify the application code to get the client IP from the x-forwarded-for header.
D.Configure ELB error logs and create a Data Pipeline job that imports the logs from an S3 bucket into EMR for analyzing and outputs the EMR data into a new S3 bucket.