Timedora
Free Practice Quiz Question List

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.

10 questions
01
Choose one
1 point

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?

  1. A

    Retry every failed message indefinitely, relying on retries alone to restore service.

  2. B

    Set retry limits and route repeatedly failing messages to a dead-letter queue.

  3. C

    Send every message that fails once directly to permanent deletion.

  4. D

    Increase function timeouts until all messages eventually succeed.

02
Choose one
1 point

A team wants to detect processing delays and follow one event across several serverless components. Which observability approach best supports both goals?

  1. A

    Track function invocation count only, since all other signals are downstream implementation details.

  2. B

    Store unstructured logs for as long as possible and investigate only after a user reports a problem.

  3. C

    Monitor relevant path-wide metrics, correlate structured logs, use traces, and alert on service objectives.

  4. D

    Use distributed traces as a replacement for metrics, logs, and alerts.

03
Choose one
1 point

Which design best applies core security practices to a serverless function that processes incoming events?

  1. A

    Validate untrusted inputs, grant only necessary resource permissions, and keep credentials in a secrets-management service.

  2. B

    Give every function broad permissions so it can handle unexpected events, and store credentials in its source code.

  3. C

    Trust events from internal systems and log all event contents to simplify debugging.

  4. D

    Use one shared set of permissions and credentials for every function and environment.

04
Choose one
1 point

A serverless service experiences event bursts that can overload a downstream database. Which strategy best addresses this scaling risk?

  1. A

    Allow execution environments to grow without limit because serverless scaling protects every dependency.

  2. B

    Increase queue size, which increases the processing capacity of the service consuming the queue.

  3. C

    Reduce event validation so that downstream systems receive work sooner.

  4. D

    Estimate concurrency and use concurrency limits, queueing, or rate controls to protect constrained dependencies.

05
Choose one
1 point

Which statement best describes an event-driven serverless system and the responsibilities it leaves to the team?

  1. A

    The provider manages both execution infrastructure and all reliability, security, and cost decisions.

  2. B

    Functions run in response to events while the provider manages execution infrastructure, but teams retain operational responsibilities.

  3. C

    Functions run only on a fixed schedule, and teams must manage the physical servers.

  4. D

    The provider handles events, but teams must provision and maintain every execution environment.

06
Choose one
1 point

A team has a strict response-time target and is considering larger batches and pre-initialized capacity. Which approach best supports a sound decision?

  1. A

    Measure only function execution time and use larger batches whenever throughput is important.

  2. B

    Assume that serverless functions have no startup delay, so queue wait is the only relevant latency.

  3. C

    Measure end-to-end latency under realistic load and weigh batching and pre-initialized capacity against their tradeoffs.

  4. D

    Keep all capacity pre-initialized because reducing latency always lowers total cost.

07
Choose one
1 point

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?

  1. A

    Store each payment event’s unique ID durably and avoid charging again when that ID is already completed.

  2. B

    Assume each event is delivered exactly once and charge whenever the handler runs.

  3. C

    Keep completed event IDs only in the short-lived function environment.

  4. D

    Reject all events that arrive later than the first event in a sequence.

08
Choose one
1 point

A team is evaluating whether a serverless workload is cost-effective. Which measure best reflects the full cost of delivering useful work?

  1. A

    Count compute charges only, because other services are outside the serverless workload.

  2. B

    Compare cost per invocation and ignore failures if the invocation itself completed.

  3. C

    Remove logging and tracing from cost calculations because they are operational tools.

  4. D

    Include the full workload cost and review cost per successful business operation.

09
Choose one
1 point

A team adds a queue to smooth a burst of events before a constrained downstream service. Which statement about this change is accurate?

  1. A

    A queue increases the consumer’s capacity by storing additional messages.

  2. B

    A queue can smooth bursts, but the consumer’s capacity must be protected or managed separately.

  3. C

    A queue prevents a platform from creating additional execution environments.

  4. D

    A queue guarantees that a constrained downstream service cannot be overwhelmed.

10
Choose one
1 point

When tuning memory, execution time, batch size, and concurrency, how should a team compare configurations?

  1. A

    Choose the configuration with the shortest runtime, regardless of resource use or reliability.

  2. B

    Minimize memory and concurrency first, since lower settings always reduce total cost.

  3. C

    Tune using measurements and compare total cost while meeting latency and reliability requirements.

  4. D

    Optimize cost per invocation alone, without accounting for successful operations or failures.