Get All the Questions Covering Entire Syllabus from here (2018-2019) : This material is owned by HadoopExam.com . Please dont copy its bad Karma
Question 6: You have deployed an eLearning website called AcmeLearning.com with the millions of subscriber, you have almost 20 EC2 instances (Auto scaling is also configured) behind the ELB. However, users from some area complains that website is not getting loaded all the time and they receive error pages, time out requests, page is not fully loaded etc. Now you need to investigate this issue and you are aware that each request is going through ELB, hence ELB access logs should have all the information. But when you check the error logs you find that there are no logs generated in ELB, why?
- If instances behind the ELB are unhealthy they access logs will not be generated.
- If you try to check the logs after a specified time then all the logs will be deleted.
- You have not configured CloudTrail for logging.
- ELB access logs are not enabled.
Correct Answer : D
Detailed Explaination: In summary, all your EC2 instances are behind the ELB and you have also configured auto-scaling. Every request must go through via ELB. Hence, logs about Client IP, Server response, user request should be available in access logs in specified S3 bucket. But logs are missing.
As per the listed option
Option-1: If instances are unhealthy request will not be served, but all the request are going through ELB will be logged.
Option-2: Logs are submitted in S3 bucket, so it is in your control when you want to delete the logs.
Option-3 CloudTrail logging will give information about the ELB logs, but not configuring it does not have impact on access logs.
Option-4: By default access logs are disabled, and you need to enable it to get the access logs in a specified S3 bucket. So this can be a most relevant reason for access logs not being generated.
All AWS Certification Products, Training, Books and PDF you must use are below