exam questions

Exam AWS Certified Security - Specialty SCS-C02 All Questions

View all questions & answers for the AWS Certified Security - Specialty SCS-C02 exam

Exam AWS Certified Security - Specialty SCS-C02 topic 1 question 155 discussion

An AWS Lambda function was misused to alter data, and a security engineer must identify who invoked the function and what output was produced. The engineer cannot find any logs created by the Lambda function in Amazon CloudWatch Logs.

Which of the following explains why the logs are not available?

  • A. The execution role for the Lambda function did not grant permissions to write log data to CloudWatch Logs.
  • B. The Lambda function was invoked by using Amazon API Gateway, so the logs are not stored in CloudWatch Logs.
  • C. The execution role for the Lambda function did not grant permissions to write to the Amazon S3 bucket where CloudWatch Logs stores the logs.
  • D. The version of the Lambda function that was invoked was not current.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
NimiBes
1 month ago
Selected Answer: A
A for me
upvoted 1 times
...
FunkyFresco
3 months, 1 week ago
Selected Answer: A
Option A is the right choice.
upvoted 1 times
...
navid1365
4 months ago
Selected Answer: A
A is correct: AWS Lambda functions require an execution role that has the appropriate permissions to write log data to CloudWatch Logs. If the execution role does not have the AWSLambdaBasicExecutionRole or similar permissions that include logs:CreateLogGroup, logs:CreateLogStream, and logs:PutLogEvents, the Lambda function will not be able to create or write logs to CloudWatch Logs.
upvoted 1 times
...
nRaiker
4 months, 2 weeks ago
Selected Answer: A
The execution role for the Lambda function did not grant permissions to write log data to CloudWatch Logs.
upvoted 1 times
...
Zek
6 months, 3 weeks ago
A https://www.examtopics.com/discussions/amazon/view/4864-exam-aws-certified-security-specialty-topic-1-question-104/
upvoted 3 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 ...