OCI Operations Associate Workshop Sample Q&A

 Automating Cloud Tasks


1. Which statements are true about using Ansible on OCI? (Choose three)
Ans:
You can use Ansible to create and destroy OCI resources, such as compute instances and load balancers. 
You can use Ansible to collect billing and usage data for your OCI tenancy.
You can use Ansible to execute a shell command on a collection of hosts. 
You can use Ansible to restart Apache on all web servers as defined in inventory. 

2. Your team recently deployed a custom Java application to a collection of 10 OCI Compute instances. The application is used only for 10 hours each day. To save money, you devise a plan to stop the instances at the end of the day when they are no longer needed, and start them each morning shortly before they will be used.
Which would be the easiest method to implement this plan?
Ans:
Use the OCI Command Line Interface. 

3. Which is NOT a supported SDK on Oracle Cloud Infrastructure?
Ans: PHP SDK 

4. You recently joined the Site Reliability team at a new company and found out that their most heavily used application uses immutable instances within the Web tier. During a cursory review of the monitoring dashboard, you notice that 1 of the 11 instances appears to be unhealthy.
Which action would you perform first to resolve this issue?
Ans: Terminate the instance and replace it using the appropriate image. 

5. Examine the command: oci os ns get
Why would you need to execute this command?
Ans: to check the connectivity to OCI