Scenario: You are building a serverless application where data updates in an Amazon S3 bucket should trigger AWS Lambda functions for further processing. Which AWS service would you use to achieve this?

  • Amazon EC2 Instances
  • Amazon RDS Databases
  • Amazon Redshift
  • Amazon S3 Event Notifications
Amazon S3 can trigger AWS Lambda functions using event notifications, allowing you to process data updates in the bucket.

AWS Lambda can be configured to consume events from third-party services using __________ integrations.

  • FTP
  • REST API
  • SMTP
  • Webhook
AWS Lambda can consume events from third-party services using webhook integrations, enabling seamless integration with various platforms and services.

Custom event sources for AWS Lambda often require the implementation of AWS Lambda __________.

  • Extensions
  • Layers
  • Policies
  • Roles
AWS Lambda extensions can help in integrating custom event sources by extending the functionality of Lambda and providing event processing capabilities.

AWS Lambda integrates with Amazon __________ to process events in real-time.

  • EventBridge
  • RDS
  • S3
  • SQS
AWS Lambda integrates with Amazon EventBridge to process events in real-time, enabling event-driven architectures.

Event sources for AWS Lambda can be configured to deliver events asynchronously using _________.

  • AWS CLI
  • AWS Lambda console
  • AWS SDKs
  • Event source mapping
Event source mapping allows for asynchronous delivery of events to Lambda from services like DynamoDB Streams or Kinesis Data Streams.

To process events from AWS services, AWS Lambda requires appropriate _________ to access the event source.

  • API Gateway
  • IAM permissions
  • Lambda function name
  • VPC configurations
AWS Lambda requires appropriate IAM permissions to access event sources from various AWS services securely.

AWS Lambda functions can be triggered by events from various AWS services such as Amazon _________.

  • EC2
  • RDS
  • S3
  • SQS
AWS Lambda can be triggered by events from Amazon S3, such as object creation, deletion, or modification.

Can AWS Lambda functions be triggered by events from AWS Step Functions?

  • AWS Step Functions can only invoke AWS Lambda functions synchronously
  • AWS Step Functions can only trigger AWS Lambda functions via HTTP requests
  • No, AWS Lambda functions cannot be triggered by events from AWS Step Functions
  • Yes, AWS Step Functions can trigger Lambda functions
AWS Step Functions can indeed trigger Lambda functions, allowing you to orchestrate workflows that involve multiple Lambda functions.

Lambda functions invoked synchronously have a payload size limit of ________.

  • 10 MB
  • 2 MB
  • 6 MB
  • 8 MB
Lambda functions invoked synchronously have a payload size limit of 6 MB. This includes both the event object and the response object.

AWS Lambda allows you to set _________ to control resource usage and costs.

  • Execution time
  • IAM policies
  • Memory size
  • Timeout
AWS Lambda allows you to set memory size for your functions to control resource usage and costs.

The maximum size for an uncompressed deployment package for Lambda is _________.

  • 1 GB
  • 100 MB
  • 250 MB
  • 500 MB
1000 MB exceeds the maximum size limit for an uncompressed deployment package in AWS Lambda; the correct answer is 250 MB.

AWS Lambda has a default limit of _________ concurrent executions per region.

  • 100
  • 1000
  • 500
  • 5000
AWS Lambda has a default limit of 1000 concurrent executions per region, meaning that at any given time, it can run up to 1000 instances of your function simultaneously.