exam questions

Exam 1z0-997-22 All Questions

View all questions & answers for the 1z0-997-22 exam

Exam 1z0-997-22 topic 1 question 57 discussion

Actual exam question from Oracle's 1z0-997-22
Question #: 57
Topic #: 1
[All 1z0-997-22 Questions]

You work for a Travel company and your travel portal application is a collection of microservices that run on Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE).

You have noticed that Oracle has published a newer image of the Operating System (OS) for worker nodes. You want to upgrade your worker nodes to the latest version of the OS, at the same time ensuring that the application does not face any downtime.

Which procedure should you follow to upgrade without application downtime?

  • A. 1. Create a new node pool using the latest available OS image
    2. Run kubectl taint nodes --all node-role.kubernetes.io/master-
    3. Delete the old node pool
  • B. 1. Run kubectl cordon against all the worker nodes in the old pool to stop any new application pods to get scheduled
    2. Run kubectl drain --delete-local-data –force –ignore-daemonsets to evict any Pods that are running
    3. Download the patches for the new OS image
    4. Patch the worker nodes to the latest OS image
  • C. 1. Create a new node pool using the latest available OS image
    2. Run kubectl cordon against all the worker nodes in the old pool to stop any new application pods to get scheduled
    3. Run kubectl drain --delete-local-data –force –ignore-daemonsets to evict any Pods that are running
    4. Delete the old node pool
  • D. 1. Shutdown the worker nodes
    2. Create a new node pool
    3. Manually schedule the pods on the newly built node pool
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
daws08322
1 year, 3 months ago
c is correct https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengupgradingimageworkernode.htm
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago