AWS Certified CloudOps Engineer Associate SOA-C03 [2026]

AWS Networking and Content Delivery: Collect and Interpret Logs

Study how to enable, scope, store, and interpret Amazon S3, VPC Flow Logs, ELB access logs, CloudFront logs, and edge-function logs for AWS CloudOps operations.

AWS Certified CloudOps Engineer Associate SOA-C03 [2026]AWS Certified CloudOps Engineer Associate SOA-C03 [2026]Updated Sep 1, 2026
Study options
WatchComing later
ListenComing later
ReadAvailable
ReviewComing later

Study guide

Technical reference and lesson notes

Purpose of This Lesson

This lesson explains how to collect and interpret logs from AWS networking and content-delivery services. The central operational skill is selecting the log source that contains the level of detail needed: network-flow information, load-balancer request information, object-storage access records, or CloudFront edge and request data.

For the AWS Certified CloudOps Engineer Associate SOA-C03 context, focus on recognizing which service produces a particular log, where the logs can be stored, what configuration is required, and how to distinguish network-layer evidence from application-layer request details.

Key Concepts

  • Amazon S3 server access logging records detailed requests made to an S3 bucket, including the requester, bucket name, request time, request action, response status, and, when applicable, an error code.
  • VPC Flow Logs capture information about IP traffic going to and from network interfaces in a VPC. They can be created at the VPC, subnet, or network interface level.
  • ELB access logs provide request-level information for load-balancer traffic, including client details, latency, request paths, server responses, and a trace ID.
  • CloudFront standard access logs contain detailed information about user requests received at CloudFront edge locations and are stored in Amazon S3.
  • CloudFront real-time logs provide request data within seconds for monitoring, analysis, and action based on content-delivery performance.
  • Lambda@Edge and CloudFront Functions logs record requests processed by edge functions.
  • Layer distinction: VPC Flow Logs primarily describe IP traffic and connection metadata, while ELB access logs provide higher-level HTTP request details.

Log Sources and Configuration Details

Amazon S3 Server Access Logging

S3 server access logging is disabled by default. When enabled, it produces detailed records for requests that read from or write to a bucket. Records can include:

  • Requester
  • Bucket name
  • Request time
  • Request action
  • Response status
  • Error code, if applicable

The logs consume storage, and the lesson identifies storage usage as the associated cost consideration. Configure a separate destination bucket for the logs. Sending a bucket’s access logs to itself can create circular logging and unnecessary storage growth.

The destination bucket must grant write permissions to the S3 log delivery group. Without that permission, log delivery cannot function.

VPC Flow Logs

VPC Flow Logs capture information about IP traffic to and from network interfaces in a VPC. The records can be stored in either CloudWatch Logs or Amazon S3.

The scope determines what traffic is captured:

  • VPC level: Use when broad visibility into traffic entering and leaving the VPC is required.
  • Subnet level: Use when the investigation or monitoring requirement is limited to a subnet.
  • Network interface level: Use when the focus is a particular network interface, such as the interface associated with a specific EC2 instance.

Flow Logs show network-flow attributes such as interface ID, source and destination addresses, source and destination ports, and whether traffic was accepted or rejected. They do not provide the application-layer request details that appear in an ELB access log.

ELB Access Logs

ELB access logging is disabled by default. These logs provide request information that is not represented by CloudWatch metrics alone. For application load-balancer traffic, the records can include:

  • Request time
  • Client IP address
  • Latency information
  • Request path
  • Server response
  • Trace ID

ELB access logs can optionally be stored and retained in Amazon S3. They are especially useful when the investigation requires understanding which HTTP request was made, which path was requested, or how the load balancer and target responded.

CloudFront Logs

CloudFront standard logs contain detailed information about every user request received at CloudFront edge locations. Standard logs are stored in Amazon S3, and logging can be configured separately for different CloudFront distributions.

CloudFront real-time logs are recorded within seconds. Use them when standard logging latency is not sufficient and the objective is to monitor, analyze, or act on content-delivery performance.

Separate edge-function logging is also available for requests processed by Lambda@Edge and CloudFront Functions.

Exam- or Assessment-Relevant Takeaways

  • If the question asks for detailed requests made to an S3 bucket, identify S3 server access logging.
  • Remember that S3 server access logging is disabled by default.
  • S3 access logs require a separate destination bucket and write permissions for the S3 log delivery group.
  • If the question focuses on IP traffic, interfaces, ports, accepted or rejected flows, choose VPC Flow Logs.
  • Choose the VPC Flow Log scope based on the required visibility: VPC, subnet, or network interface.
  • If the question asks which HTTP request path, response, latency, or trace ID was involved, ELB access logs are more appropriate than VPC Flow Logs.
  • VPC Flow Logs provide lower-layer connection information; they do not reveal the actual application request or URL.
  • CloudFront standard logs are stored in Amazon S3, while CloudFront real-time logs support analysis and action within seconds.
  • Do not confuse CloudWatch metrics with access logs: ELB access logs contain request-level details not included in CloudWatch metrics.

Tool / Feature Decision Guide

RequirementBest-fit log sourceReason
Determine who accessed an S3 bucket and whether the request succeededS3 server access loggingRecords requester, action, status, and possible error code
Investigate traffic to and from a whole VPCVPC Flow Logs at the VPC levelProvides broad IP-flow visibility
Investigate traffic associated with one EC2 instance’s interfaceVPC Flow Logs at the network interface levelLimits collection to the relevant interface
Investigate traffic within a particular subnetVPC Flow Logs at the subnet levelMatches the required collection scope
Identify an HTTP request path, latency, response, or trace ID at a load balancerELB access logsIncludes application-level request information
Determine whether traffic was accepted or rejected and inspect portsVPC Flow LogsCaptures flow-level network metadata
Review detailed requests received by CloudFront edge locationsCloudFront standard access logsRecords user requests and stores them in Amazon S3
Analyze CloudFront activity within secondsCloudFront real-time logsProvides near-real-time request information
Review requests processed by edge codeLambda@Edge or CloudFront Functions logsCaptures requests handled by those edge functions

Common Traps / Misconceptions

  • Assuming S3 server access logging is enabled automatically: It is disabled by default.
  • Using the same S3 bucket as the log destination: The destination must be separate to avoid circular logging and potentially unnecessary log growth.
  • Forgetting destination permissions: The S3 log delivery group needs write permissions on the destination bucket.
  • Treating VPC Flow Logs as full application logs: They show IP and connection metadata, not the URL, HTTP version, or actual application request.
  • Choosing VPC Flow Logs when the investigation needs HTTP details: Use ELB access logs for request paths, responses, latency, and trace IDs.
  • Assuming all CloudFront logs have the same timing: Standard logs and real-time logs serve different timeliness requirements.
  • Confusing CloudFront logging with edge-function logging: Requests processed by Lambda@Edge and CloudFront Functions have their own function-oriented logging context.

Real-World Engineer / Analyst Notes

Start an investigation by stating the question in operational terms: “Was traffic allowed?”, “Which HTTP path was requested?”, “Who accessed this bucket?”, or “What did CloudFront receive at the edge?” That wording usually identifies the appropriate log source faster than starting with the service name.

Use the narrowest VPC Flow Log scope that answers the question when the goal is focused troubleshooting, such as investigating one EC2 instance. Use VPC-level flow logging when broad network visibility is required. The choice affects the volume and relevance of the records you must interpret.

When correlating network and application behavior, treat VPC Flow Logs and ELB access logs as complementary. A flow record can show the connection’s addresses, ports, interface, and accept/reject result, while an ELB access record can explain the HTTP request and response carried over that connection.

For S3 access logging, validate the destination bucket and log-delivery permissions as part of the configuration checklist. For CloudFront, choose standard versus real-time logging based on whether delayed, detailed records or rapid operational response is the priority.

Quick Reference Summary

  • S3 server access logging: S3 bucket requests; disabled by default; separate destination bucket; S3 log delivery group needs write permission.
  • VPC Flow Logs: IP traffic for VPC, subnet, or network interface; stored in CloudWatch Logs or Amazon S3; includes ports and accept/reject information.
  • ELB access logs: Load-balancer request details such as client IP, latency, path, response, and trace ID; disabled by default; can be stored in S3.
  • CloudFront standard logs: Detailed edge-location user requests; stored in S3.
  • CloudFront real-time logs: Request data within seconds for monitoring, analysis, and action.
  • Edge-function logs: Requests processed by Lambda@Edge and CloudFront Functions.
  • Key distinction: VPC Flow Logs describe network flows; ELB access logs expose higher-layer HTTP request details.

Flashcards

Q: A team needs to know which users made read and write requests to an S3 bucket, including request status and possible error codes. Which logging feature should be enabled?

A: Enable Amazon S3 server access logging. It records bucket requests and can include the requester, action, response status, and error code.

Q: What must be true about the destination for Amazon S3 server access logs?

A: The logs must be delivered to a separate destination bucket, and that bucket must grant write permissions to the S3 log delivery group.

Q: Why should an S3 bucket generally not send its server access logs to itself?

A: Self-logging can create circular logging and unnecessary growth in stored log files.

Q: An operator wants to investigate accepted and rejected traffic associated with one EC2 instance. Which log scope is the most targeted choice?

A: Create a VPC Flow Log for the network interface associated with that instance. This limits the flow records to the relevant interface.

Q: When is VPC-level flow logging preferable to network-interface-level flow logging?

A: Use VPC-level logging when broad visibility into traffic entering and leaving the entire VPC is required rather than a focused instance investigation.

Q: Which log source shows interface IDs, source and destination addresses, ports, and accept or reject results?

A: VPC Flow Logs. These are network-flow attributes rather than full application request details.

Q: An investigation requires the HTTP GET path, HTTP version, load-balancer ARN, target group, and server response. Which log source is appropriate?

A: ELB access logs, because they contain higher-layer request information that VPC Flow Logs do not provide.

Q: What is the key difference between VPC Flow Logs and ELB access logs?

A: VPC Flow Logs describe IP traffic and connection metadata, while ELB access logs provide application-layer request details such as paths, responses, latency, and trace IDs.

Q: Which ELB logging detail can help correlate a load-balancer request with related processing?

A: The trace ID can support request correlation, along with the request time, client IP, path, latency, and response information.

Q: What is the storage destination for CloudFront standard access logs described in the lesson?

A: Amazon S3. Standard logs contain detailed information about user requests received at CloudFront edge locations.

Q: When should CloudFront real-time logs be selected instead of standard logs?

A: Select real-time logs when request information is needed within seconds for monitoring, analysis, or operational action based on content-delivery performance.

Q: Can CloudFront logging be configured separately for different distributions?

A: Yes. CloudFront standard logging can be configured separately for different distributions.

Q: What do Lambda@Edge and CloudFront Functions logs describe?

A: They record requests processed by those edge functions, providing logging specific to edge-code execution context.

Q: A troubleshooting question asks whether traffic reached a load balancer at the network level or which URL the client requested. Which logs should be compared?

A: Compare VPC Flow Logs with ELB access logs. The former provides network-flow evidence, while the latter provides the HTTP request and response details.

Practice Questions

Question 1

An engineer is troubleshooting a specific EC2 instance and wants to determine whether traffic to its network interface was accepted or rejected, along with the source and destination ports. Which configuration best matches the requirement?

A. CloudFront real-time logs for the distribution
B. VPC Flow Logs at the network interface level
C. ELB access logs stored in Amazon S3
D. S3 server access logging on the instance’s bucket

Correct answer: B. VPC Flow Logs at the network interface level. The requirement is focused on one interface and asks for flow-level attributes such as ports and accept/reject status.

Question 2

A load-balancer investigation must identify the requested URL path, client IP address, latency, and server response. Which source should the engineer prioritize?

A. VPC Flow Logs
B. S3 server access logs
C. ELB access logs
D. CloudFront standard logs for an unrelated distribution

Correct answer: C. ELB access logs. These logs provide the application-layer request details and load-balancer response information that VPC Flow Logs do not expose.

Question 3

An organization enables S3 server access logging but no log files appear in the destination bucket. Which configuration issue is the most likely explanation based on the lesson?

A. The source bucket must also enable CloudFront real-time logs
B. The destination bucket is not separate from the source bucket
C. The S3 log delivery group lacks write permission on the destination bucket
D. VPC Flow Logs must be enabled before S3 logs can be delivered

Correct answer: C. The destination bucket must grant write permissions to the S3 log delivery group for S3 server access logging to work.

Question 4

A network operations team needs broad visibility into IP traffic entering and leaving an entire VPC rather than traffic associated with a single interface. Which option should it choose?

A. VPC Flow Logs at the VPC level
B. VPC Flow Logs only on one network interface
C. ELB access logs
D. Lambda@Edge logs

Correct answer: A. VPC Flow Logs at the VPC level. The required scope is the entire VPC, so VPC-level flow logging is the appropriate choice.

Question 5

A CloudFront operations team needs request information within seconds so it can analyze content-delivery performance and take prompt action. Which feature best fits?

A. CloudFront standard access logs
B. CloudFront real-time logs
C. S3 server access logging
D. VPC Flow Logs at the subnet level

Correct answer: B. CloudFront real-time logs. The decisive clue is the requirement for request data within seconds and operational action based on CloudFront performance.

WordPress Metadata

Suggested Slug:
aws-networking-content-delivery-collect-interpret-logs

Meta Description:
Study how to enable, scope, store, and interpret Amazon S3, VPC Flow Logs, ELB access logs, CloudFront logs, and edge-function logs for AWS CloudOps operations.

Tags:
AWS, SOA-C03, CloudOps, Amazon S3, VPC Flow Logs, Elastic Load Balancing, Amazon CloudFront, CloudWatch Logs, network troubleshooting