AWS Lambda Backup Quiz: Test Your Knowledge! Quiz

  1. Lambda Trigger

    What AWS service is commonly used to trigger a Lambda function for scheduled backups?

    1. A. Amazon EC2
    2. B. AWS CloudTrail
    3. C. Amazon EventBridge (formerly CloudWatch Events)
    4. D. Amazon SQS
    5. E. AWS Config
  2. Backup Destination

    Which AWS service is best suited for storing the backups created by your Lambda function?

    1. A. Amazon RDS
    2. B. Amazon DynamoDB
    3. C. Amazon S3
    4. D. Amazon CloudFront
    5. E. Amazon EC2 Instance Store
  3. IAM Role Permissions

    What minimum permissions should your Lambda function's IAM role have to perform a backup to S3?

    1. A. Only 's3:GetObject'
    2. B. 's3:PutObject' for the target S3 bucket
    3. C. 's3:*' on all buckets
    4. D. 's3:ListBucket' and 's3:GetObject' on the source bucket
    5. E. 's3:PutObject' on the target S3 bucket and 's3:GetObject' on the source bucket if copying existing data
  4. Lambda Runtime

    Which Lambda runtime environment is commonly used when scripting a backup process for general files?

    1. A. Java 11
    2. B. .NET Core 3.1
    3. C. Python 3.9 or later
    4. D. Node.js 16.x
    5. E. Any of the above, depending on preference and dependencies
  5. Handling Large Files

    What strategy is recommended when backing up very large files using Lambda due to its execution time limit?

    1. A. Increase the Lambda function's memory allocation to the maximum.
    2. B. Compress files into a single large archive before backup.
    3. C. Split the large file into smaller chunks and process them concurrently using Lambda.
    4. D. Use AWS Step Functions to orchestrate multiple Lambda invocations for the backup process.
    5. E. All of the above.