Free 300-910 Exam Braindumps (page: 12)

Page 11 of 29

A user wants to deploy a new service to a Kubernetes cluster. Which two commands accomplish this goal? (Choose two.)

  1. Apply
  2. Install
  3. Deploy
  4. Create
  5. Expose

Answer(s): A,E



A developer wants to deploy a highly available web server cluster and decides to put a load balancer in front of multiple clustered nodes that run the same web service. The goal is for the load balancer to take in users and distribute the load across the whole cluster.

What kind of high-availability configuration is the developer running?

  1. active
  2. passive
  3. active-passive
  4. active-active

Answer(s): D

Explanation:

An active-active high-availability configuration is when the load balancer is used to distribute the load across the whole cluster of nodes that are running the same web service. In this configuration, all of the nodes are active and available to serve requests at any given time. This is in contrast to an active-passive configuration, where only one node is active and the other nodes are passive and serve as backups in case of a failure.



A developer has created a deployment that should launch a pod to run their database service. The pod should launch with a metadata name of "Cisco-DB," and the developer has added it to the "Cisco" namespace in their deployment.

Which Kubernetes command confirms that the service is running and usable?

  1. kubectl -n Cisco get services | grep "Cisco-DB"
  2. kubectl -n Cisco get pods | grep "Cisco-DB"
  3. kubectl get pods | grep "Cisco-DB"
  4. kubectl -n Cisco get service | grep "Cisco-DB"

Answer(s): B

Explanation:

The correct answer is B. kubectl -n Cisco get pods | grep "Cisco-DB". This command allows you to view the pods in the Cisco namespace and filter the list for the pod named "Cisco-DB". This will confirm that the pod is running and usable.


Reference:

Cisco Implementing DevOps Solutions and Practices using Cisco Platforms (DEVOPS) Study Manual, Chapter 6, Section 6.3: Kubernetes Commands, Page 113.



Which step must be taken to enable centralized logging in a Kubernetes environment?

  1. No steps need to be taken. The master node automatically aggregates logs from all worker nodes and stores them on the specified persistent volume.
  2. Create a CustomResourceDefinition in each deployment that specifies the IP or names the log collector.
  3. Deploy a sidecar node that aggregates logs from the entire cluster.
  4. Create a DaemonSet that deploys a container with a logging agent on every node in the cluster.

Answer(s): D

Explanation:

To enable centralized logging in a Kubernetes environment, you must create a DaemonSet that deploys a container with a logging agent on every node in the cluster. This allows all of the logs from each node to be collected in one place, allowing for easier analysis and management.


Reference:

Kubernetes Documentation, Logging Architecture.






Post your Comments and Discuss Cisco® 300-910 exam with other Community members:

300-910 Discussions & Posts