Cisco 300-910 Practice Test - Questions Answers, Page 4
List of questions
Related questions
Refer to the exhibit.
The exhibit shows the output of an Ansible task that prints the contents of the show_ip_int_brief variable that was registered in a different task in the playbook.
Which expression is used to print the output of the command without its header row?
show_ip_int_brief[‘stdout_lines’][0]
show_ip_int_brief[‘stdout_lines’][1:]
show_ip_int_brief[‘stdout_lines’][0][1:]
show_ip_int_brief[‘stdout_lines’]
Fill in the blanks to describe the concepts of extending DevOps practices to the network for NetDevOps.
NetDevOps builds and manages networks as a system that enables network services to be consumed in a DevOps approach. Organizations practicing NetDevOps see changes in the__________ as routine and expected activities, with a well-defined and practiced process for_____________, testing, and _____________ network changes. By making them routine, network changes can be small and simple.
network, designing, deploying
Refer to the exhibit.
A developer needs to scale the existing pods within the worked nodes. Which object should be edited to achieve this goal?
ReplicaSet
PriorityClass
Deployment
Pod
When static routes are added to a router in a network using a CI/CD pipeline, an Ansible playbook is used to make these changes. Which steps must be added to the pipeline to validate that the changes have the intended effect on the traffic flow?
Add a step to run the debug ip routing command before the change, and add a step after the change to issue the no debug ip routing command.
Add a step to capture the routing table before the change, and add a step after the change to capture it again. Calculate the difference between the two for review.
Add a step to ping a host on each of the static routes before the change, and a step after to repeat the same check. Calculate the difference between the two checks for review.
Add a step to run the same playbook again with the debug option enabled and use grep on the log output to ensure that the commands are not applied again.
A DevOps engineer is supporting a containerized application with multiple components running across the Kubernetes cluster. Metrics from the container (CPU and memory) and application (requests per second and heap size) are being collected by Prometheus and displayed with Grafan a. Users report transaction timeout problems with the application, but the metric graphs all look within normal levels.
Which type of failure would prevent the engineer from seeing the problem using the captured metrics?
Grafana has lost connectivity to Prometheus, which causes graphs to display only the cached data.
CPU and memory metrics from Kubernetes nodes are not accurate due to the way that containers share resources.
Some containers are crashing regularly and being restarted automatically by Kubernetes.
The metricbeat agent has crashed and is no longer sending new data to Prometheus, so the metrics are not updating.
Which Kubernetes object is used to create a ClusterIP or NodePort?
service
pod
deployment
loadbalancer
A user wants to deploy a new service to a Kubernetes cluster. Which two commands accomplish this goal? (Choose two.)
Apply
Install
Deploy
Create
Expose
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?
active
passive
active-passive
active-active
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?
kubectl -n Cisco get services | grep “Cisco-DB”
kubectl -n Cisco get pods | grep “Cisco-DB”
kubectl get pods | grep “Cisco-DB”
kubectl -n Cisco get service | grep “Cisco-DB”
Which step must be taken to enable centralized logging in a Kubernetes environment?
No steps need to be taken. The master node automatically aggregates logs from all worker nodes and stores them on the specified persistent volume.
Create a CustomResourceDefinition in each deployment that specifies the IP or names the log collector.
Deploy a sidecar node that aggregates logs from the entire cluster.
Create a DaemonSet that deploys a container with a logging agent on every node in the cluster.
Question