exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 558 discussion

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

A SysOps Administrator has an AWS Lambda function that stops all Amazon EC2 instances in a test environment at night and on the weekend. Stopping instances causes some servers to become corrupt due to the nature of the applications running on them.
What can the SysOps Administrator use to identify these EC2 instances?

  • A. AWS Config
  • B. Amazon EC2 termination protection
  • C. Resource tagging
  • D. Amazon CloudWatch
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://aws.amazon.com/premiumsupport/knowledge-center/start-stop-lambda-cloudwatch/

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
mukeshs
Highly Voted 2 years, 7 months ago
Lambda needs to programatically determine which instances it needs to shutdown. Cloudwatch can initiate the lambda but not determine these are the instances that needs to be shutdown. For this lambda has to use tags.
upvoted 8 times
...
Kt45
Highly Voted 2 years, 6 months ago
I'd say D because its asking how to identify corrupted servers. Lambda is used here to intentionally to stop instances. I'm guessing it's asking for how to identify which instances are corrupt when the instances are started again. The instances probably would start normally, however the custom application data stored on the instance is probably what is corrupt. These instances can be identified with custom cloud watch metrics embedded with the application.
upvoted 6 times
...
albert_kuo
Most Recent 10 months ago
Selected Answer: C
By assigning a specific tag to the EC2 instances that should not be stopped, the Administrator can modify the Lambda function to include a filter based on that tag. This way, the function will only stop the instances that do not have the designated tag, leaving the critical instances untouched.
upvoted 1 times
...
Finger41
1 year, 9 months ago
Selected Answer: C
Question states "Due to the nature of the programs running on certain servers......" You can use tags to select the certain servers.
upvoted 1 times
...
kenkct
2 years, 5 months ago
Keyword is to "Identify" the corrupted instances Answer C: We use "resource tagging" to tag the corrupted instances
upvoted 3 times
...
JGD
2 years, 6 months ago
Answer: C, Based on the tagging, we can exclude the critical servers from the auto shutdown activity, and can be viewable from the cloud trail as well. A: This is for recording the configuration D: Cloudwatch will use CloudEvent to trigger the Lamdba function nothing else.
upvoted 4 times
...
winmacman
2 years, 6 months ago
Answer D. You can view the EC2 status with EC2 console, CLI or CloudWatch dashboard or CloudWatch logs. Since the other options are not mentioned, CloudWatch is the one. Check this out. https://aws.amazon.com/premiumsupport/knowledge-center/start-stop-lambda-cloudwatch/
upvoted 6 times
cevrial
2 years, 5 months ago
That link shows how to control the start/stop schedule using a CloudWatch Event Rule to fire off the Lambda that shuts down the EC2s. It isn't giving specifics on how to monitor the instances for errors.
upvoted 2 times
...
...
gretch
2 years, 6 months ago
A https://docs.aws.amazon.com/lambda/latest/dg/services-config.html
upvoted 1 times
...
Golddust
2 years, 6 months ago
Maybe I misunderstand the question. But a simple solution would be to use Cloudwatch to monitor Instance status. If the volume becomes corrupted or failed to boot you can take action?
upvoted 3 times
...
ezat
2 years, 6 months ago
I'll go with Taggin, cuz nothing from other choices can tell Lambda which EC2 to work on
upvoted 1 times
...
kkkn
2 years, 7 months ago
Going with C, the questions ask how to determine the instances which are corrupt. How you gonna determine which one is corrupt, you need to restart the instances to find out. Tagging will determine which EC2 instance will not restart. Its run time error not the config so I believe config does not help...
upvoted 3 times
...
sen12
2 years, 7 months ago
The question says, how to identity the failed instances? AWS config monitors only the changes done on the environment. AWS tagging wont be useful to identity the failed instances, unless we know what instances they are and they are tagged, which is not the scenario in this case. So I will go with option A
upvoted 4 times
...
karmaah
2 years, 7 months ago
The question is how to identify these Ec2 Instances which means the dependency between applications or configuration or servers side. The possible answers are A and C. But C wont help you to understand the issues. so the Best answer is A for the below reason. AWS Config provides a detailed view of the configuration of AWS resources in your AWS account. This includes how the resources are related to one another and how they were configured in the past so that you can see how the configurations and relationships change over time. An AWS resource is an entity you can work with in AWS, such as an Amazon Elastic Compute Cloud (EC2) instance, an Amazon Elastic Block Store (EBS) volume, a security group, or an Amazon Virtual Private Cloud (VPC)
upvoted 4 times
...
dman
2 years, 7 months ago
Only my view... i think the answer is A. If there is corruption the server.. config on the server is corrupted.. which mean if you audit using Config you should be able to identify the failed servers..
upvoted 1 times
...
saumenP
2 years, 7 months ago
C is correct
upvoted 5 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