exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 11 discussion

Actual exam question from Cisco's 350-901
Question #: 11
Topic #: 1
[All 350-901 Questions]

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
e7bd289
5 days, 20 hours ago
Selected Answer: A
When deploying a new module to Google Kubernetes Engine (GKE), it is essential to ensure that the application, including all its dependencies and configurations, can run in a container. Creating a Dockerfile is a mandatory step in this process. A Dockerfile is a script containing a series of instructions on how to build a Docker image for your application. This includes specifying the base image, copying application files, installing dependencies, and setting the command to run the application.
upvoted 1 times
...
tartarus23
1 year ago
Selected Answer: A
Correct Answer is A: A. Create a Dockerfile for the code base. Explanation: Google Kubernetes Engine (GKE) uses Docker as its container runtime, and hence, in order to make your JavaScript module ready to deploy on GKE, you need to create a Dockerfile. This Dockerfile will include instructions on how to build a Docker image of your application, which can then be deployed on GKE. The other options are not mandatory: B. Rewriting the code in Python is not necessary if the original code is already in JavaScript. Kubernetes can run any language as long as it's packaged inside a Docker container. C. The process of "containerizing" is indeed necessary, but it's achieved through the creation of a Dockerfile (option A), not through building a "wrapper" for the code. D. Rebasing the code from the upstream git repo would only be necessary if there were changes in the upstream repo that you needed to integrate into your current working branch. It's not a mandatory step to make the code ready for deployment to GKE.
upvoted 4 times
...
xXXDarkWizardXXx
1 year, 2 months ago
Selected Answer: A
A
upvoted 2 times
...
Teringzooi
1 year, 8 months ago
Selected Answer: D
Docker
upvoted 1 times
...
NetGirl
1 year, 8 months ago
A is correct. You’d need a Dockerfile to containerize your app, not a wrapper. In fact wrapper in Javascript is used to call another which has nothing to do with containerizing your app: https://developer.mozilla.org/en-US/docs/Glossary/Wrapper
upvoted 3 times
...
bluesky2022
1 year, 10 months ago
I think it's C.
upvoted 1 times
...
__al__
2 years, 2 months ago
what's de difference between creating a docker file and "creating a wrapper to containerize it"
upvoted 2 times
...
python_tamer
2 years, 4 months ago
Selected Answer: C
I think C. You have to containerize the new module.
upvoted 3 times
...
garcesdavid88
2 years, 8 months ago
I agree with C
upvoted 1 times
...
ashf4kbd
2 years, 9 months ago
Suggest ans: C/ The Code has to be containerized prior to it being deployed on Kubernetes. Wrapper functions can be used to make writing computer programs easier. An example of this is the MouseAdapter and similar classes in the Java AWT library. Wrapper functions are useful in the development of applications that use third-party library functions. A wrapper can be written for each of the third party functions and used in the native application. In case the third party functions change or are updated, only the wrappers in the native application need to be modified as opposed to changing all instances of third party functions in the native application
upvoted 2 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