
無料SAP C-KYMD-01学習ガイド試験問題と解答
C-KYMD-01試験問題集、C-KYMD-01練習テスト問題
質問 # 29
You want to run a database migration on SAP BTP, Kyma runtime. Which workload type does SAP recommend you use?
- A. DeemonSet
- B. Parallel job
- C. One off/non parallel job
- D. StatefulSet
正解:D
質問 # 30
Which tool does SAP BTP, Kyma runtime use for log collection?
- A. Jaeger
- B. Prometheus
- C. Fluent Bit
- D. Kiali
正解:C
質問 # 31
What are some characteristics of the API Gateway? Note: There are 2 correct Answers to this question.
- A. It uses Envoy Proxy to handle traffic and forward it to the correct service
- B. It uses a custom-configured Nginx Ingress Gateway.
- C. It is the central point of contact for all internal traffic in the Kyma cluster.
- D. It uses Ory Oath keeper to manage access to services.
正解:A、C
質問 # 32
Which of the following are features of Kubernetes? Note: There are 3 correct Answers to this question.
- A. Immutability and self-healing
- B. Service Discovery and load balancing
- C. Hardware virtualization
- D. Operating system management
- E. Storage orchestration
正解:A、B、E
質問 # 33
What is used to isolate groups of resources in a Kubernetes cluster?
- A. Namespaces
- B. Object groups
- C. Organizations and spaces
- D. Semantic versioning
正解:A
質問 # 34
Which command lists the pods in a specific namespace?
- A. kubectl list pods n <namespace>
- B. kubectl print pods n <namespace>
- C. kubectl show pods -n <namespace>
- D. kubectl get pods -n <namespace>
正解:D
解説:
Explanation
The command kubectl get pods -n <namespace> lists the pods in a specific namespace. This command uses the -n flag to specify the namespace and the get pods subcommand to retrieve the pod resources. The output shows the name, status, restarts, and age of each pod in the namespace1. You can also use the -o wide flag to show more details, such as the node where the pod is running2. References:
1: Get a Shell to a Running Container
2: List pods per namespace in kubernetes
質問 # 35
Which proxy pattern is used by the service mesh solution in SAP BTP, Kyma runtime?
- A. Shared library
- B. Per-Node
- C. Per-Container
- D. Sidecar
正解:D
質問 # 36
What happens when you delete a pod managed by a Replica Set?
- A. The pod is deleted until the redeployment of the Replica Set.
- B. The Replica Set will schedule a new pod.
- C. The Replica Set is deleted as well.
正解:B
解説:
Explanation
When you delete a pod managed by a Replica Set, the Replica Set will schedule a new pod to replace the deleted one. This is because the Replica Set's purpose is to maintain a stable set of replica pods running at any given time. As such, it is often used to guarantee the availability of a specified number of identical pods1. The Replica Set controller monitors the number of pods it owns and creates or deletes pods as needed to reach the desired number. The Replica Set identifies its pods by using a selector that matches the pods' labels2. Therefore, deleting a pod will reduce the number of pods that match the selector, and trigger the Replica Set to create a new pod with the same pod template3.
References:
1: ReplicaSet | Kubernetes
2: Labels and Selectors | Kubernetes
3: Pods, Deployments and Replica Sets: Kubernetes Resources Explained
質問 # 37
When would you use kubect!? Note: There are 3 correct Answers to this question.
- A. To view pod logs
- B. To plot time series data
- C. To run interactive commands
- D. To deploy containers into production clusters
- E. To forward ports from remote machines to pods
正解:A、C、E
解説:
Explanation
kubectl is a command-line tool that allows you to run commands against Kubernetes clusters1. You can use kubectl in SAP BTP, Kyma runtime for the following purposes:
To run interactive commands. kubectl supports various commands that let you interact with your cluster resources, such as creating, updating, deleting, describing, or executing them. For example, you can use kubectl create to create a resource from a file or kubectl exec to run a command in a container2.
To view pod logs. kubectl allows you to view the logs of a pod or a container in a pod using the kubectl logs command. This can help you troubleshoot issues or monitor the pod activity3.
To forward ports from remote machines to pods. kubectl enables you to forward one or more local ports to a pod using the kubectl port-forward command. This can allow you to access a pod from your local machine for debugging or testing purposes4.
References:
1: Kubernetes / Overview of kubectl
2: Kubernetes / kubectl Cheat Sheet
3: Kubernetes / Viewing logs
4: Kubernetes / Use Port Forwarding to Access Applications in a Cluster
質問 # 38
Which tool does SAP BTP, Kyma runtime use for log collection?
- A. Jaeger
- B. Prometheus
- C. Fluent Bit
- D. Kiali
正解:C
解説:
Explanation
SAP BTP, Kyma runtime uses Fluent Bit as the tool for log collection. Fluent Bit is an open-source log processor and forwarder that allows you to collect data and logs from different sources, enrich them with filters, and send them to multiple destinations. Fluent Bit is deployed as a DaemonSet on every node of the Kyma runtime cluster, and collects logs from the containers running on the node. Fluent Bit forwards the logs to Loki, a log aggregation system that is compatible with Prometheus12. References: Fluent Bit, Logging | SAP Help Portal.
質問 # 39
Why would you use observability tools in SAP BTP, Kyma runtime?
- A. To run distributed tracing
- B. To monitor system behaviour
- C. To manage StatefulSets
正解:A、B
解説:
Explanation
Observability tools are used to monitor system behaviour and performance, as well as to troubleshoot issues and identify root causes. Observability tools in SAP BTP, Kyma runtime include Grafana, Prometheus, Loki, and Jaeger, which provide dashboards, metrics, logs, and traces for the workloads running in the cluster1. Distributed tracing is a technique to track the flow of requests across microservices and visualize the latency, errors, and dependencies of each service2. Observability tools help developers and operators to ensure the reliability, availability, and security of their applications and services.
質問 # 40
Which command lists services in the current namespace?
- A. kubectl list services
- B. kubectl print services
- C. kubectl show services
- D. kubectl get services
正解:D
解説:
Explanation
The command kubectl get services lists all the services in the current namespace1. The get command is used to display one or more resources in Kubernetes2. The services argument specifies the type of resource to list. To list services in a differentnamespace, you can use the --namespace or -n flag3. References: Kubectl commands to list services, deployments and pods from namespace ..., kubectl Cheat Sheet | Kubernetes, How to get the current namespace of current context using kubectl - Stack Overflow
質問 # 41
What is the secret and configuration management feature in Kyma?
- A. A configuration assistant
- B. An object store
- C. A credential store and manager
- D. A local password manager
正解:C
解説:
Explanation
Kyma uses Kubernetes secrets as the secret and configuration management feature. A secret is an object that contains sensitive data, such as passwords, tokens, or keys, that can be accessed by authorized pods or users.
Secrets can be created manually, generated dynamically, or imported from external sources. Kyma provides a custom resource (CR) called ServiceBinding that allows you to create secrets for service instances and inject them into your workloads. You can also use the Service Catalog UI or the Service Management CLI to manage your secrets123. References: Secrets | Kubernetes, Service Binding | SAP Help Portal, Service Catalog
| SAP Help Portal, Service Management CLI | SAP Help Portal
質問 # 42
What is the etcd component in a Kubernetes cluster?
- A. Key value store that stores the cluster state and configuration
- B. Relational database to store cluster configuration
- C. API to manage the cluster
- D. Storage to back up deployed applications
正解:A
質問 # 43
What does a pod in Kubernetes represent?
- A. Container for exactly one application
- B. Virtual operating system
- C. Thin wrapper around multiple deployments
- D. Smallest deployable units in Kubernetes
正解:D
質問 # 44
Which of the following is a usage for Kubernetes?
- A. Management of containerized workloads
- B. Registration of services
- C. Governance of applications
- D. Management of virtual machines
正解:A
質問 # 45
Which application-based service proxy does the kyma-gateway use to handle traffic and forwarding to services?
- A. Nginx
- B. Envoy
- C. Traefik
正解:B
解説:
Explanation
The kyma-gateway is a custom-configured Istio Ingress Gateway that is installed in the kyma-system namespace. It is the central point of contact for all external traffic that enters the Kyma cluster.
The kyma-gateway uses the Envoy Proxy as an application-based service proxy to handle the traffic and to forward it to the correct Service. Envoy Proxy is a high-performance proxy developed in C++ to mediate all inbound and outbound traffic for all services in the service mesh.
Envoy Proxy supports dynamic service discovery, load balancing, TLS termination, HTTP/2 and gRPC proxies, health checks, staged rollouts, fault injection, and rich metrics.
References:
Using the API Gateway to Expose Services
Extending on-premise systems via Kyma runtime
SAP BTP, Kyma Runtime API Gateway future architecture based on Istio
Exposing a Service in Kyma with API Rules
質問 # 46
What must you do to pull a container image from a private registry? Note: There are 2 correct Answers to this question.
- A. Provide credentials in the pod manifest via image Pull Secrets" in "spec template metadata annotations"
- B. Create a secret with the type "kubernetes.io/docker configjson".
- C. Provide credentials in the pod manifest via "image Pull Secrets" in spec. template. spec.
- D. Create a secret with the type "Opaque"
正解:B、C
質問 # 47
What is a characteristic of Kubernetes pods managed by deployments?
- A. They are assigned a random hash suffix as part of their name.
- B. They are stateful.
- C. They have a stable name.
正解:A
質問 # 48
When do you use a Daemon Set as the main workload type?
- A. To run multiple instances of the same container
- B. To run a batch job
- C. To run a workload on every node in the cluster
正解:C
解説:
Explanation
A DaemonSet ensures that all (or some) Nodes run a copy of a Pod. As nodes are added to the cluster, Pods are added to them. As nodes are removed from the cluster, those Pods are garbage collected. Deleting a DaemonSet will clean up the Pods it created2.
Some typical uses of a DaemonSet are: running a cluster storage daemon on every node, running a logs collection daemon on every node, running a node monitoring daemon on every node2.
DaemonSets are ideal in a variety of real-world use cases: Running Node monitoring agents, Running log collection agents, Running network plugins, Running service meshes3.
References:
Kubernetes DaemonSet - What It is & How to Use It (Example)
DaemonSet | Kubernetes
Kubernetes Daemonset: A Practical Guide - Spot.io
質問 # 49
If an application requires a persistent state between reboots, what must be done before it can be deployed?
- A. Create a Persistent Volume Claim for a pod.
- B. Create a new entry in etcd.
- C. Create a Persistent Volume in the namespace
正解:A
質問 # 50
Which open-source projects provide data visualization in the kyma-system Namespace? Note: There are 2 correct Answers to this question.
- A. Vector
- B. Loki
- C. Grafana
- D. Prometheus Web UI
正解:C、D
質問 # 51
Which proxy pattern is used by the service mesh solution in SAP BTP, Kyma runtime?
- A. Shared library
- B. Per-Node
- C. Per-Container
- D. Sidecar
正解:D
解説:
Explanation
The service mesh solution in SAP BTP, Kyma runtime is based on Istio, which is one of the most popular service mesh solutions. Istio uses the Sidecar proxy pattern, which means that a proxy is deployed as a sidecar container next to each service. This way, the proxy can intercept and manage the traffic between the services, without requiring any changes in the application code. The proxy also communicates with the Istio control plane, whichprovides configuration and policies for the service mesh. The other options are not valid proxy patterns for the service mesh solution in SAP BTP, Kyma runtime. References: Discovering the Service Mesh
- SAP Learning, Istio Documentation - What is Istio?
質問 # 52
......
最新のC-KYMD-01実際の無料試験問題は更新された62問があります:https://jp.fast2test.com/C-KYMD-01-premium-file.html