Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 101
An application is hosted on Google Kubernetes Engine. A new JavaScript module is created to work with the existing application.
Which task is mandatory to make the code ready to deploy?
Answer options
- A. Create a Dockerfile for the code base.
- B. Rewrite the code in Python.
- C. Build a wrapper for the code to ג€containerizeג€ it.
- D. Rebase the code from the upstream git repo.
Correct answer: A
Explanation
Creating a Dockerfile is essential because it defines how the application should be packaged into a container, which is necessary for deployment on Google Kubernetes Engine. The other options are not required for deployment; rewriting the code in Python or rebasing from a git repo does not directly contribute to making the JavaScript module deployable in this context.