Oracle Cloud Infrastructure 2022 Architect Associate — Question 36
You have a high-demand web application running on Oracle Cloud Infrastructure (OCI). Your tenancy administrator has set up a schedule-based autoscaling policy on instance pool with an initial size of 5 instances for the application.
Policy 1:
Target pool size: 10 instances -
Execution time: 8:30 a.m. Monday through Friday, every month, every year
Cron expression: 0 30 8 ? * MON-FRI *
Which statement accurately explains the goal of this policy?
Answer options
- A. Goal: A recurring daily schedule. At 8.30 a.m. on weekday mornings, a scale out to 10 instances.
- B. Goal: A one-time schedule with only one scaling out event. At 8:30 a.m. on December 31, 2022, scale the instance pool to 10 instances from 5.
- C. Goal: A recurring weekly schedule. At 8.30 a.m. on all days of the week, scale out the pool to 10 instances from the initial size of 5.
- D. Goal: A recurring monthly schedule. On all days of the month, set the initial pool size to 5 instances. At 8.30 a.m. every day of the month, scale out to 10 instances.
Correct answer: A
Explanation
Option A is correct because the cron expression indicates a schedule that executes at 8:30 a.m. on weekdays, aiming to scale the instance pool to 10 instances. Option B is incorrect as it describes a one-time event rather than a recurring schedule. Option C misinterprets the schedule by suggesting scaling occurs every day, when it only happens on weekdays. Option D incorrectly states it occurs daily rather than only on weekdays.