1Z0-1072-25 Question 31
Select 2You are managing a fleet of Oracle Linux compute instances in OCI. Your organization requires all instances to receive monthly OS patches automatically at midnight on the first Sunday of every month. Which two steps must you take to achieve this using OS Management?
- A
Install and enable the OS Management agent on each target instance, then create a scheduled job in the OS Management console specifying the monthly patch schedule.
- B
Stop all instances manually at the designated time to allow the monthly patch job to complete successfully.
- C
Create a managed instance group that includes all your target instances, and define a recurring scheduled job with the desired frequency for that group in the OS Management console.
- D
Disable OS Management across instances and rely on manual package installations during the maintenance window.
Show answer and explanation
Correct answers: A, C
Explanation
To automate monthly OS patching in OCI, each instance must have the OS Management agent enabled. This agent communicates with the OS Management service to schedule patching. For multiple instances, grouping them into a managed instance group simplifies the process, allowing a single recurring job to patch all instances at the specified time. Refer to Oracle Cloud Infrastructure OS Management documentation (https://docs.oracle.com/en-us/iaas/os-management/) for guidance on creating scheduled jobs, enabling agents, and managing instance groups.
- A. Correct.
Correct. You must install and enable the OS Management agent on the instances to manage and apply updates. Then you can create a scheduled job through the OS Management console, specifying the monthly patch schedule (for example, the first Sunday of each month at midnight). This ensures the agent automatically applies patches on a defined schedule.
- B. Incorrect.
Incorrect. Stopping instances manually is not required for OS Management to apply patches. OS Management can patch the running instances at the scheduled time without the need for manual intervention.
- C. Correct.
Correct. Using a managed instance group is an effective way to organize and apply scheduled patching across multiple instances. Defining a recurring job for the group allows simultaneous or staggered updates as configured, all within the OS Management service.
- D. Incorrect.
Incorrect. Disabling OS Management and manually installing packages defeats the purpose of automated scheduling and does not align with the requirement for monthly automatic patching.