Test Exam Questions & Verified
Quiz_________________?
How can an application use Amazon Elastic Cache to improve database read performance?
(Select TWO.)
A) Read data from the database first and write the most frequently read data to Elastic
Cache.
B) Direct all read requests to the database and configure it to read from Elastic Cache when
a cache miss occurs.
C) Read data from Elastic Cache first and write to Elastic Cache when a cache miss occurs.
D) Write data to Elastic Cache whenever the application writes to the database.
E) Replicate the database in Elastic Cache, and direct all reads to Elastic Cache and all writes
to the database. -
Answer✅
C) Read data from Elastic Cache first and write to Elastic Cache when a cache miss occurs.
D) Write data to Elastic Cache whenever the application writes to the database.
Writing Data to the cache only when a cache miss occurs is called lazy loading. Writing data
to the cache every time that the application writes data to the database is called write-
through.
1
, Quiz_________________?
How does Amazon CloudFront use edge locations?
A) It caches all content from an origin distribution at the edge location, and delivers the
content to clients through the fastest edge location.
B) It caches local content at the edge locations. It delivers the cached content to clients
through the edge location that requires the fewest network hops to reach those clients.
C) It caches frequently accessed content at the edge locations. It delivers the cached
content to clients through the edge location with the lowest latency
to those clients.
D) It caches Regional data at Regional Edge locations, and delivers the content to clients
through their Regional edge locations. -
Answer✅
C. It caches frequently accessed content at the edge locations. It delivers the cached content
to clients through the edge location with the lowest latency
to those clients.
The requested content might be part of a CloudFront distribution and unavailable at the
edge location. In this case, CloudFront fetches the content from the origin and then caches
it at the edge location.
Quiz_________________?
What does Amazon CloudFront enable?
A) Bidirectional caching between users and an origin host
B) Multi-tiered and regional caching of content
C) Transactional processing with an in-memory database
D) Automatic creation of a time-to-live value -
Answer✅
2