Resilient Application Design Patterns
- 62Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
62 questions
- 1In distributed cloud-native applications, the assumption that hardware, networks, and software components will eventually fail is summarized by the idea that_____are given.
Hint
Recall the central reliability quote presented at the beginning.
Answer
Failures
- 2When designing a resilient application, developers should identify the application's possible_____so it can recover when components fail.
Hint
Think about the different ways a component can break or become unavailable.
Answer
failure modes
- 3The goal of resilience patterns is to allow an application to recover from component failures and continue to_____its users.
Hint
What should the application continue doing even when part of it is down?
Answer
serve
- 4The five resilience patterns presented were timeouts, graceful degradation, retries, exponential backoff, and_____.
Hint
This pattern temporarily stops requests to a failing service.
Answer
circuit breakers
- 5The additional resilience practice presented in the talk was called_____engineering.
Hint
This practice deliberately introduces failures to learn how systems behave.
Answer
chaos
- 6The React application in the demonstration was contained inside the_____app folder.
Hint
The folder name identifies the front-end portion of the application.
Answer
client
- 7The main React component responsible for fetching and displaying joke data was named_____.
Hint
Its name combines an action involving data retrieval with the JavaScript file extension.
Answer
fetch data JS
- 8The React component's populate joke data function calls the_____endpoint.
Hint
This endpoint is exposed by the .NET API.
Answer
api/Joke
- 9The .NET controller defines a joke client that calls a third-party joke API through an_____.
Hint
This .NET object is used to make REST calls.
Answer
HttpClient
- 10The joke response object contains a setup, a punchline, and a_____field.
Hint
This field identifies where the joke response came from.
Answer
source
- 11In the demonstrated request flow, the .NET microservice acts as a_____between the React application and the third-party joke API.
Hint
It forwards requests and responses without being the original joke provider.
Answer
proxy
- 12If requests wait indefinitely for a failing third-party API, accumulating requests can eventually bring down the .NET_____.
Hint
This is the backend component receiving requests from the React application.
Answer
microservice
- 13The first resilience pattern limits how long a client waits for a response by using_____.
Hint
This pattern stops waiting after a specified duration.
Answer
timeouts
- 14In .NET, a basic timeout can be configured by setting the_____property on HttpClient.
Hint
This property has the same name as the resilience pattern.
Answer
timeout
- 15The demonstration configured the basic HttpClient timeout to_____seconds.
Hint
The request was allowed to wait for this duration before timing out.
Answer
five
- 16When a request exceeds the configured timeout, the .NET microservice receives a timeout_____.
Hint
This is the error produced when the time limit is exceeded.
Answer
exception
- 17The .NET resiliency library used in the demonstration was called_____.
Hint
This library provides policies for timeouts, retries, fallbacks, and circuit breakers.
Answer
Polly
- 18Using Polly, the request and response code was wrapped inside an anonymous asynchronous function passed to_____.
Hint
This Polly method executes an asynchronous policy-protected operation.
Answer
ExecuteAsync
- 19A Polly timeout can provide more granular control over individual asynchronous tasks by using a_____.
Hint
This object allows an asynchronous operation to be cancelled.
Answer
cancellation token
- 20Compared with setting the HttpClient property directly, Polly provides more_____over how a timeout is handled.
Hint
The phrase describes finer control over the individual operation.
Answer
granularity of control
- 21Graceful degradation provides an alternative response when the normal policy encounters an_____.
Hint
This is the failure condition handled by the fallback policy.
Answer
exception
- 22In Polly, graceful degradation was implemented with a_____policy.
Hint
This policy supplies an alternative result when the primary operation fails.
Answer
fallback
- 23The fallback policy in the demonstration returned a_____of jokes.
Hint
The fallback result was a collection containing one joke.
Answer
list
- 24The fallback joke identified its origin by setting its source field to_____.
Hint
The source value indicated that the joke did not come from the third-party API.
Answer
fallback
- 25When the third-party API exceeded the timeout, the application could continue operating by displaying a_____joke.
Hint
This joke is supplied locally rather than retrieved from the unavailable service.
Answer
fallback
- 26A Polly_____allows multiple policies to be combined in an order of precedence.
Hint
This structure chains policies together.
Answer
policy wrapper
- 27To activate the chained resilience behavior, the policy wrapper must be passed to_____.
Hint
This is the method used to execute the protected asynchronous request.
Answer
ExecuteAsync
- 28The retry pattern controls how many times an endpoint is contacted again after an initial_____.
Hint
A retry is only needed when the first attempt does not succeed.
Answer
failure
- 29In Polly, the retry policy was configured to handle a general_____.
Hint
This is the error condition used to trigger another attempt.
Answer
exception
- 30The asynchronous Polly method used to define the action performed after a failed attempt was_____.
Hint
It is the retry counterpart of the fallback async method.
Answer
retry async
- 31In the retry demonstration, the retry count was set to_____attempts.
Hint
The application made this many retry attempts before using the fallback.
Answer
five
- 32With a two-second timeout per attempt and five attempts, the example could spend_____seconds retrying in total.
Hint
Multiply the timeout duration by the number of attempts.
Answer
10
- 33The retry policy was placed in the policy wrapper so that, after retries failed, the application could use the_____policy.
Hint
This policy returns an alternative joke after the primary operation cannot succeed.
Answer
fallback
- 34Basic retries can overload a struggling third-party API because many clients repeatedly send requests, potentially creating a distributed_____of service attack.
Hint
The phrase describes making a service unavailable by overwhelming it with requests.
Answer
denial
- 35Exponential backoff improves basic retries by increasing the waiting time between successive_____.
Hint
The delay grows rather than remaining constant.
Answer
retries
- 36The example exponential backoff delays increased from two seconds to four seconds, then eight seconds, and finally_____seconds.
Hint
Each delay doubled from the previous one.
Answer
16
- 37The exponential backoff delay was calculated using a power of_____.
Hint
The delay doubles with each retry attempt.
Answer
two
- 38By spreading requests over a longer period, exponential backoff helps distribute the_____sent to the third-party API.
Hint
This refers to the volume of requests placed on the service.
Answer
load
- 39Even with exponential backoff, retries can cluster when clients use the same deterministic delay calculation; this problem is addressed by the_____pattern.
Hint
This pattern adds randomness to retry timing.
Answer
jitter
- 40The jitter implementation added a random delay between zero and_____milliseconds.
Hint
The range added up to one second of randomness.
Answer
a thousand
- 41The purpose of adding jitter to exponential backoff is to make retry timing more_____.
Hint
Random timing prevents multiple clients from retrying together.
Answer
random
- 42A circuit breaker prevents repeated requests from reaching a service that has continued to_____.
Hint
The circuit opens when repeated errors show that the service is unhealthy.
Answer
fail
- 43When a circuit breaker is open, it avoids sending requests to the third-party API and instead returns a_____response.
Hint
This response stands in for the unavailable service.
Answer
dummy
- 44In the demonstration, the circuit breaker opened after_____exceptions within one minute.
Hint
This threshold was reached through repeated failed calls.
Answer
five
- 45After opening, the circuit breaker prevented requests from reaching the third-party API for_____minute.
Hint
The circuit remained open for the duration specified in the policy.
Answer
one
- 46The special exception handled by the circuit-breaker fallback was called a_____circuit exception.
Hint
The exception name describes the state of an opened circuit.
Answer
broken
- 47The circuit-breaker fallback returned a joke whose source identified it as the_____breaker fallback.
Hint
The source indicated that the response came from the circuit-breaker mechanism.
Answer
circuit
- 48The circuit-breaker policy must preserve state across requests, so the policy wrapper was moved to a class_____.
Hint
This class-level storage location lets the policy retain its state.
Answer
field
- 49The policies and client construction were moved into an initialization method named_____policies.
Hint
The method name refers to initializing the policies.
Answer
init
- 50Chaos engineering involves injecting failures or stress and then_____how the service behaves under that stress.
Hint
After creating a failure, engineers watch the system's response.
Answer
observing
- 51The purpose of chaos engineering is to improve system resiliency and performance by uncovering hidden_____.
Hint
These are problems that may remain invisible during normal operation.
Answer
issues
- 52Chaos engineering exposes system_____such as blind spots and unknown weaknesses.
Hint
The term refers to things the team does not know about or cannot normally see.
Answer
blind spots
- 53A traditional difficulty of chaos engineering is that teams may need to stitch together scripts and_____to cause failures.
Hint
These are software utilities used alongside scripts.
Answer
tools
- 54Injecting chaos directly into a production environment can be risky because it may affect real_____.
Hint
The concern is about disrupting systems that users depend on.
Answer
services
- 55The AWS service introduced for injecting controlled failures was the fault injection_____.
Hint
It is a simulator used to run fault-injection experiments.
Answer
simulator
- 56In the fault injection simulator, controlled chaos is organized into_____that run against an application.
Hint
An experiment defines the action, target, and duration of a fault.
Answer
experiments
- 57The demonstration used the fault injection simulator action named_____to disrupt the joke API infrastructure.
Hint
The action shuts down selected compute instances.
Answer
stop instances
- 58To limit the experiment to the intended API servers, the simulator selected instances using their_____.
Hint
These metadata labels identify resources.
Answer
tags
- 59The API server instances in the demonstration were identified with the tag_____.
Hint
The tag names the role of the selected servers.
Answer
API
- 60The stop-instances experiment was configured to keep the targeted EC2 instances stopped for_____minute.
Hint
The disruption lasted for the same duration used in the circuit-breaker example.
Answer
one
- 61The fault injection simulator can perform actions beyond stopping servers, including controlling_____container instances.
Hint
This phrase refers to a type of container infrastructure mentioned in the talk.
Answer
green
- 62A key benefit of the fault injection simulator is that it can target failures with considerable_____.
Hint
This means the experiment can be narrowly controlled.
Answer
granularity

Ask anything
We've read this whole study set, so questions about it get the best answers.