nerdexam
Cisco

350-901 · Question #42

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?

The correct answer is C. Build a wrapper for the code to "containerize" it. To deploy a new JavaScript module on Google Kubernetes Engine (GKE), it is mandatory to containerize the code, as Kubernetes orchestrates workloads packaged as containers.

Application Deployment and Security

Question

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?

Exhibit

350-901 question #42 exhibit

Options

  • ACreate a Dockerfile for the code base.
  • BRewrite the code in Python.
  • CBuild a wrapper for the code to "containerize" it.
  • DRebase the code from the upstream git repo.

How the community answered

(40 responses)
  • A
    3% (1)
  • C
    95% (38)
  • D
    3% (1)

Why each option

To deploy a new JavaScript module on Google Kubernetes Engine (GKE), it is mandatory to containerize the code, as Kubernetes orchestrates workloads packaged as containers.

ACreate a Dockerfile for the code base.

While creating a Dockerfile is a common method for containerization, option C describes the fundamental mandatory task of containerization itself, making it more general and accurate than just mentioning one specific tool.

BRewrite the code in Python.

Rewriting the code in Python is not mandatory, as Kubernetes can host applications developed in any language, including JavaScript, as long as they are containerized.

CBuild a wrapper for the code to "containerize" it.Correct

Kubernetes Engine deploys and manages applications within containers, so any new application component, such as a JavaScript module, must be containerized to run on the platform. This involves packaging the code and its dependencies into a container image, which serves as a 'wrapper' for deployment.

DRebase the code from the upstream git repo.

Rebase from an upstream git repo is a version control operation and is not a mandatory step for making the code technically ready for deployment on Kubernetes.

Concept tested: Kubernetes application deployment - containerization

Source: https://cloud.google.com/kubernetes-engine/docs/how-to/deploying-a-container

Topics

#Containerization#Kubernetes#Application Deployment#GKE

Community Discussion

No community discussion yet for this question.

Full 350-901 Practice