A serverless handler encounters messages that may repeatedly fail because of a poison message. Which approach best limits the operational impact while preserving a path to investigate or replay the message?
Serverless Operations and Design Online Quiz Questions
Use this free practice quiz with 10 questions to review Serverless Operations and Design, test your knowledge, and prepare for your next test or exam.
A team wants to detect processing delays and follow one event across several serverless components. Which observability approach best supports both goals?
- A
Track function invocation count only, since all other signals are downstream implementation details.
- B
Store unstructured logs for as long as possible and investigate only after a user reports a problem.
- C
Monitor relevant path-wide metrics, correlate structured logs, use traces, and alert on service objectives.
- D
Use distributed traces as a replacement for metrics, logs, and alerts.
Which design best applies core security practices to a serverless function that processes incoming events?
- A
Validate untrusted inputs, grant only necessary resource permissions, and keep credentials in a secrets-management service.
- B
Give every function broad permissions so it can handle unexpected events, and store credentials in its source code.
- C
Trust events from internal systems and log all event contents to simplify debugging.
- D
Use one shared set of permissions and credentials for every function and environment.
A serverless service experiences event bursts that can overload a downstream database. Which strategy best addresses this scaling risk?
- A
Allow execution environments to grow without limit because serverless scaling protects every dependency.
- B
Increase queue size, which increases the processing capacity of the service consuming the queue.
- C
Reduce event validation so that downstream systems receive work sooner.
- D
Estimate concurrency and use concurrency limits, queueing, or rate controls to protect constrained dependencies.
Which statement best describes an event-driven serverless system and the responsibilities it leaves to the team?
- A
The provider manages both execution infrastructure and all reliability, security, and cost decisions.
- B
Functions run in response to events while the provider manages execution infrastructure, but teams retain operational responsibilities.
- C
Functions run only on a fixed schedule, and teams must manage the physical servers.
- D
The provider handles events, but teams must provision and maintain every execution environment.
A team has a strict response-time target and is considering larger batches and pre-initialized capacity. Which approach best supports a sound decision?
- A
Measure only function execution time and use larger batches whenever throughput is important.
- B
Assume that serverless functions have no startup delay, so queue wait is the only relevant latency.
- C
Measure end-to-end latency under realistic load and weigh batching and pre-initialized capacity against their tradeoffs.
- D
Keep all capacity pre-initialized because reducing latency always lowers total cost.
A payment handler may receive the same event more than once after a retry. Which design makes duplicate processing have the same lasting effect as processing the event once?
- A
Store each payment event’s unique ID durably and avoid charging again when that ID is already completed.
- B
Assume each event is delivered exactly once and charge whenever the handler runs.
- C
Keep completed event IDs only in the short-lived function environment.
- D
Reject all events that arrive later than the first event in a sequence.
A team is evaluating whether a serverless workload is cost-effective. Which measure best reflects the full cost of delivering useful work?
- A
Count compute charges only, because other services are outside the serverless workload.
- B
Compare cost per invocation and ignore failures if the invocation itself completed.
- C
Remove logging and tracing from cost calculations because they are operational tools.
- D
Include the full workload cost and review cost per successful business operation.
A team adds a queue to smooth a burst of events before a constrained downstream service. Which statement about this change is accurate?
- A
A queue increases the consumer’s capacity by storing additional messages.
- B
A queue can smooth bursts, but the consumer’s capacity must be protected or managed separately.
- C
A queue prevents a platform from creating additional execution environments.
- D
A queue guarantees that a constrained downstream service cannot be overwhelmed.
When tuning memory, execution time, batch size, and concurrency, how should a team compare configurations?
- A
Choose the configuration with the shortest runtime, regardless of resource use or reliability.
- B
Minimize memory and concurrency first, since lower settings always reduce total cost.
- C
Tune using measurements and compare total cost while meeting latency and reliability requirements.
- D
Optimize cost per invocation alone, without accounting for successful operations or failures.
Related study packs and tools
AWS Cloud Concepts
Practice cloud benefits, deployment models, scalability, elasticity and AWS Cloud concepts.
12 study toolsAWS Cloud Practitioner Practice Test
Comprehensive AWS Certified Cloud Practitioner practice covering cloud concepts, security, AWS services and pricing.
15 study toolsAWS Cloud Technology and Services: Cloud Databases
Focused study of relational and nonrelational databases and service selection concepts.
12 study toolsAWS Cloud Technology and Services: Container Services
Focused study of containers, orchestration and container service use cases.
27 study toolsAWS Cloud Technology and Services: EC2 Compute
Focused study of instances, instance types, scaling and compute use cases.
12 study toolsAWS Cloud Technology and Services: S3 Storage
Focused study of objects, buckets, storage classes and storage use cases.
12 study tools