Managing and Configuring OracleAS Web Cache

Questions derived from the 1Z0-311 – Oracle Application Server 10g: Administration I Oracle Self-Test Software Practice Test.

 

Objective: Managing and Configuring OracleAS Web Cache
SubObjective: Set up basic invalidation mechanism

 

Item Number: 1Z0-311.9.5.1
Single Answer, Multiple Choice

 

You are the Application Server administrator for an online trading company. The Web site is updated several times a day. Users accessing the online Web portal should see the latest changes made to the Web pages. For this, you create a caching rule that invalidates the cached Web pages every 30 minutes.

 

Which method will be most effective to support the invalidation of cached Web pages every 30 minutes?

 

 

  1. Manually invalidate the cached Web pages by using Application Server Control console.
  2. Manually invalidate the cached Web pages by using Telnet.
  3. Automatically invalidate the cached Web pages by creating database triggers.
  4. Automatically invalidate the cached Web pages by creating scripts.

 

Answer:
D. Automatically invalidate the cached Web pages by creating scripts.

 

Tutorial:
The most effective method that should be used in this scenario is to automatically invalidate the cached Web pages by creating scripts. In the script, you can specify that the cached Web pages for the specific Web portal should be invalidated every 30 minutes. Once the cached Web pages are invalidated, these pages will be deleted from the cache and will be reloaded into the Web Cache whenever the next request is placed. This will enable you to ensure that users can view the latest changes made to the Web pages. Creating a script will ensure that invalidation of cached Web pages automatically occurs every 30 minutes.

 

Manually invalidating the cached Web pages by using the Application Server Control console or by using Telnet will not prove effective in this scenario. Because invalidation of cached Web pages is required every 30 minutes and performing this task manually is not a practical and effective solution. Manual invalidation of cached objects is suggested when you have to invalidate objects as needed. Manual invalidation can be done for specific objects or a group of objects.

 

Automatically invalidating the cached Web pages by creating database triggers is not possible in this scenario because database triggers cannot be used to invalidate objects on a recurring basis. In this scenario, the requirement is that the cached Web pages have to be invalidated every 30 minutes. Database triggers are coupled with actions performed in the database such as INSERT, UPDATE or DELETE performed on a table. Database triggers should be used in invalidation mechanism when you want to invalidate objects in the cache based on specific actions performed in the database.

 

Reference:
Oracle Application Server Web Cache Administrator’s Guide
10g (9.0.4)
Part Number B10401-01
1 Introduction to OracleAS Web Cache
Cache Invalidation and Expiration
http://download-west.oracle.com/docs/cd/B10464_01/caching.904/b10401/intro.htm#1005085

 

Oracle Application Server 10g R2: Administration 1
Chapter 8: Configuring and Managing OracleAS Web Cache
Expiration Rules
p. 8-38.

Like what you see? Share it.Share on Google+Share on LinkedInShare on FacebookShare on RedditTweet about this on TwitterEmail this to someone
cmadmin

ABOUT THE AUTHOR

Posted in Archive|

Comment: