Serverless Cost Optimization Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Cost-Optimized Compute

What you'll be asked

  1. Which pricing model best describes how serverless compute services like AWS Lambda or Google Cloud Functions typically charge for execution?
  2. You have a serverless function that performs intensive data processing and frequently hits the execution timeout limit. Which strategy is most cost-effective to optimize this?
  3. An application uses a serverless function that is triggered by an API Gateway. The function makes synchronous calls to three different external APIs. How can you optimize the cost of this architecture?
  4. A serverless function is experiencing 'cold starts' that impact user experience. You consider using 'Provisioned Concurrency'. What is the cost implication of this choice?
  5. You are optimizing a high-traffic serverless workflow that processes images. The function currently reads the entire file into memory from S3, processes it, and writes it back. What is the most cost-efficient way to handle this?

Answers and explanations come after you submit.