exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 324 discussion

Exam question from Amazon's AWS-SysOps
Question #: 324
Topic #: 1
[All AWS-SysOps Questions]

A .NET application that you manage is running in Elastic Beanstalk. Your developers tell you they will need access to application log files to debug issues that arise. The infrastructure will scale up and down.
How can you ensure the developers will be able to access only the log files?

  • A. Access the log files directly from Elastic Beanstalk
  • B. Enable log file rotation to S3 within the Elastic Beanstalk configuration
  • C. Ask your developers to enable log file rotation in the applications web.config file
  • D. Connect to each Instance launched by Elastic Beanstalk and create a Windows Scheduled task to rotate the log files to S3.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.loggingS3.title.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
albert_kuo
11 months ago
Selected Answer: B
Enabling log file rotation to S3 allows Elastic Beanstalk to automatically rotate the log files and store them in an S3 bucket. This ensures that developers have access to the log files without granting them direct access to the Elastic Beanstalk infrastructure. They can then access the log files from the designated S3 bucket for debugging purposes.
upvoted 1 times
...
TroyMcLure
2 years, 6 months ago
Correct Answer: B It cannot be "D" anyway. How could one connect to every instance launched by Elastic Beanstalk in an auto scaling infrastructure? It doesn't make sense at all.
upvoted 2 times
...
apwangzh
2 years, 6 months ago
B is correct, beanstalk support log rotation for .net, here is the link https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.container.console.html
upvoted 1 times
...
jaribu
2 years, 6 months ago
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.logging.html
upvoted 1 times
...
NKnab
2 years, 6 months ago
saumenP is correct. Bundle logs are full logs for a wider range of log files, including logs from yum and cron and several logs from AWS CloudFormation. When you request bundle logs, an instance in your environment packages the full log files into a ZIP archive and uploads it to Amazon S3. Note Elastic Beanstalk Windows Server platforms do not support bundle logs.
upvoted 1 times
...
awscertified
2 years, 6 months ago
B. Enable log file rotation to S3 within the Elastic Beanstalk configuration
upvoted 2 times
...
Bad_Mat
2 years, 7 months ago
Another moment: The infrastructure will scale up and down So every time a new instance added to login to it and rotate manually. Logically it's B
upvoted 1 times
...
Moon
2 years, 7 months ago
B should be the correct answer.
upvoted 2 times
...
saumenP
2 years, 8 months ago
D should be correct. Elastic Beanstalk Windows Server platforms do not support bundle logs. On Windows Server, when you configure your application's log files for log rotation, the application must rotate the log files periodically
upvoted 3 times
karmaah
2 years, 7 months ago
am not from application side. But when you are able to configure the logfile rotation thru Config file then why windows scheduler to be used to rotate Again. By default Logfile will use s3 and Looks B correct.
upvoted 1 times
karmaah
2 years, 7 months ago
I thought , By default it can store the logfiles into s3. But after studying the doc,I understand that logs are stored on local and windows not supported bundle files to move into s3. SaumenP is correct.
upvoted 2 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago