1Z0-997-25 exam dumps

1Z0-997-25 practice question 92 of 175

Oracle Cloud Infrastructure 2025 Architect Professional. Professional level, Oracle. Free question with the correct answer and a full explanation.

1Z0-997-25 Question 92

Select 2

You are running a high-traffic online gaming platform on Oracle Cloud Infrastructure (OCI). Your microservices frequently query user session data and game settings from your Autonomous Database, and you notice increased latency and CPU usage in the database. You decide to use OCI Cache to reduce database load and improve response times for these frequently accessed values. Which two actions should you take to optimize your caching strategy for better performance?

  1. A

    Set a consistent Time-to-Live (TTL) for ephemeral data and implement lazy loading to only fetch from the database on a cache miss.

  2. B

    Deploy an active-standby shape pair for OCI Cache to automatically handle all scale-out operations without any configuration changes.

  3. C

    Adopt read-through caching so that the application loads data from the database only when the cache is empty, then updates the cache.

  4. D

    Configure daily synchronization to copy your entire Autonomous Database contents into the cache for guaranteed data availability.

Show answer and explanation

Correct answers: A, C

Explanation

Using OCI Cache effectively involves employing well-known caching patterns like lazy loading and read-through caching for frequently accessed data, while properly managing TTL settings to avoid serving stale data. According to OCI best practices, you should identify which data to cache, avoid large-scale bulk replication of your database, and scale the cache based on observed load. Refer to OCI� caching documentation for additional configuration details on TTL policies, scaling guidelines, and read-through caching patterns.

  • A. Correct.

    Correct. Setting a TTL for ephemeral data helps expire stale entries and prevents the cache from serving outdated information. Lazy loading ensures data is fetched from the database only when needed, reducing unnecessary database calls.

  • B. Incorrect.

    Incorrect. There is no typical 'active-standby shape' mechanism that automatically manages all capacity scaling without further configuration. While OCI Cache can be scaled, you must configure or tune scaling policies as needed, rather than relying on a fixed active-standby model.

  • C. Correct.

    Correct. Read-through caching is a best practice for frequently accessed data. When the application requests data not found in the cache, it retrieves it from the database and populates the cache. This reduces repetitive queries and offloads read operations from the database.

  • D. Incorrect.

    Incorrect. Synchronizing the entire contents of your database to the cache each day is inefficient and can cause memory and performance issues. Caches are most effective when focusing on frequently accessed or ephemeral data, not duplicating the entire database.

Timed practice exam

Take a 1Z0-997-25 practice test under exam conditions

60 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam