nerdexam
Oracle

1Z0-997-20 · Question #120

1Z0-997-20 Question #120: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-997-20 to reveal the answer and full explanation for question #120. The question stem and answer options stay visible for context.

Question

Your company developed a function that needs to access the Oracle Database to inject some data to it at runtime. You are tasked to move this function to the Oracle Cloud Infrastructure (OCI) and use Oracle Functions and access Oracle Autonomous Database. You created a Dockerfile below to run this function, however, you are getting this error "cx_Oracle.DatabaseError: ORA""12560: TNS:protocol adapter error". What should you do to make sure that Oracle Functions can run this Dockerfile properly? (Choose the best answer.)

Exhibit

1Z0-997-20 question #120 exhibit

Options

  • AAdd these two lines to your Dockerfile: groupadd """"gid 1000 fn && \ adduser """"uid 1000 """"gid
  • BUse """"privileged flag while running the Docker container to add runtime privilege
  • CUse """"cap""add=ALL flag while running the Docker container to add runtime capability
  • DYou ned to run this Container as root, so add this line: USER root

Unlock 1Z0-997-20 to see the answer

You've previewed enough free 1Z0-997-20 questions. Unlock 1Z0-997-20 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-997-20 Practice