Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SCS-C03 Exam - Topic 2 Question 15 Discussion

Posted by Corinne on Aug 18, 2026 at 05:05 PM

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?

Suggested Answer: A

AWS Lambda automatically sends function execution logs to Amazon CloudWatch Logs when logging is enabled in the function code. However, this logging capability depends on the Lambda execution role having the appropriate permissions. According to the AWS Certified Security -- Specialty Study Guide, the execution role must include permissions such as logs:CreateLogGroup, logs:CreateLogStream, and logs:PutLogEvents.

If these permissions are missing, Lambda cannot create log groups or streams, and no execution logs will appear in CloudWatch Logs---even though the function was successfully invoked. This is the most common reason Lambda logs are unavailable during forensic investigations.

Option B is incorrect because Lambda logs are stored in CloudWatch Logs regardless of whether the invocation source is API Gateway, EventBridge, or another AWS service. Option C is incorrect because CloudWatch Logs does not require direct S3 permissions from the Lambda execution role. Option D is irrelevant because Lambda versions do not affect logging behavior.

AWS documentation emphasizes verifying execution role permissions as a first step when Lambda logs are missing.

Referenced AWS Specialty Documents:

AWS Certified Security -- Specialty Official Study Guide

AWS Lambda Execution Roles

Amazon CloudWatch Logs Integration with Lambda


Get Premium SCS-C03 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
22 comments · newest first
JE
Jessica Williams 5 days ago
Maybe the suggested answer is not correct because the tricky part is the execution role lacking permissions to write logs to CloudWatch.
ZA
Zainab Zaidi 21 days ago
B makes the most sense here because API Gateway doesn't change log storage, but tricky part is missing logs come from execution role's permissions.
JE
Jennifer Harris 14 days ago
↳ replying to Zainab Zaidi
I see it differently, A would fit better because API Gateway doesn't change logging permissions, and without logs:CreateLogGroup the function can't emit CloudWatch data.
RA
Rajesh Mishra 16 days ago
↳ replying to Zainab Zaidi
That makes sense because API Gateway doesn't change log storage, and also verify the execution role has the logs:CreateLogGroup, logs:CreateLogStream, logs:PutLogEvents permissions.
CA
Caitlin 2 days ago
I doubt B. Logs should still be there.
JU
Judy 7 days ago
What about B? API Gateway could be the issue.
LO
Louvenia 12 days ago
I agree, A makes sense. No access means no logs.
OD
Odette 17 days ago
I think it's A. No permissions for logs.
ST
Stacey 22 days ago
Wait, no logs at all? That's a huge oversight!
SU
Sunshine 27 days ago
D) is unlikely, versions usually don't affect logging.
MA
Mari 1 month ago
C) sounds plausible, but S3 for logs? That's odd.
GE
Gerardo 1 month ago
I disagree, B) is the reason. API Gateway has its own logging.
TI
Tijuana 1 month ago
A) makes the most sense, no permissions = no logs.
MI
Mireya 2 months ago
D) could be a factor too, but A) is likely the main issue.
ED
Edgar 2 months ago
Wait, how can you not have logs? That seems odd.
LO
Lorrine 2 months ago
B) is wrong, API Gateway logs are separate.
LE
Lenna 2 months ago
Totally agree, without the right permissions, logs won't show up.
TH
Therese 2 months ago
A) makes the most sense, no permissions = no logs.
AL
Alyce 2 months ago
I feel like D could be a factor, but I don't recall if the version affects logging directly. I need to double-check that.
OL
Ollie 3 months ago
I practiced a question similar to this, and I think C is unlikely because CloudWatch doesn’t store logs in S3.
CA
Cammy 3 months ago
I’m not entirely sure, but I think B might be misleading. Even if API Gateway is involved, logs should still go to CloudWatch, right?
AN
Anjelica 3 months ago
I remember we discussed how important it is for the execution role to have the right permissions for logging. So, A seems like a strong possibility.
0/2000 characters

Save Cancel