Final 1 Flashcards
(38 cards)
Which one of the following is applicable when using Storage Class to provide storage for pods?
a. Pods request storage via a persistent volume claim
b. Persistent Volume Claim requests storage from Storage Class
c. Storage Class creates Persistent Volume dynamically that meets the needs of the claim
d. All of the above
d. All of the above
What are the 3 types of Service objects supported by Kubernetes?
a. Pod, ReplicaSet, Deployment
b. Cluster IP, NodePort, Load Balancer
c. Deployment, Resiliency, Scalability
d. None of the above
b. Cluster IP, NodePort, Load Balancer
What is the benefit of deploying your containerized applications on Kubernetes?
a. Scalability
b. Resiliency
c. High Availability
d. All of the above
d. All of the above
What is [(ngModel)] used for in Angular?
a. Two-way binding
b. One-way binding
c. Mustache Syntax
d. Banana in a box
a. Two-way binding
What is JAX-RS?
a. Spec to implement Java persistence API
b. Java Architecture for XML and RESTful
c. Java API for RESTful Webs Services
d. None of the above
c. Java API for RESTful Webs Services
Kubernetes cluster state data is stored in which of the following?
a. Kube-apiserver
b. Persistent Volume
c. etcd
d. All of the above
c. etcd
Which one of the following does not have enough annotations to configure a Java class into a RESTful resource?
a. @PATH, @GET, @POST
b. @PATH, @GET
c. @PATH[{id}], @GET
d. None of the above
d. None of the above
How does a Kubernetes service object determine which pod group to forward the requests to?
a. Using Pods’ IP addresses implicitly
b. Explicitly using a selector that points to a label used by the pod
c. Using Pods’ group ID implicitly
d. None of the above
b. Explicitly using a selector that points to a label used by the pod
What Kubernetes resource can be used to provide persistence storage for your applications deployment in Kubernetes?
a. Ephemeral storage
b. Persistent Volume
c. Amazon RDS
d. etcd
b. Persistent Volume
Which one of the following manages ReplicaSets?
a. Scheduler
b. Kubelet
c. kube-proxy
d. Deployment
d. Deployment
What is the name of the file that you must first create to build and run a custom container image on your laptop?
a. Dockerfile
b. Container Image
c. Base image
d. None of the above
a. Dockerfile
When using the ingress to route external traffic to your application running on a Kubernetes cluster, you will need which one of the following?
a. Define a Deployment object with a Pod that encapsulates your application
b. Create a service object of type ClusterIP which routes traffic to a Pod
c. Create an ingress object that routes traffic to a service object, such as ClusterIP
d. All of the above
d. All of the above
Which one of the following components of HTTP requests is used to identify the resource on server?
a. HTTP Version
b. Request Header
c. HTTP VERB
d. URI
d. URI
When using a NodePort service to access a web application deployed on Kubernetes, the NodePort opens a port on every node in the cluster randomly chosen in a range. What is that range?
a. 8081-8443
b. 80-8080
c. 30000-32767
d. 80-443
c. 30000-32767
For a critical enterprise system, which one of the following must be implemented to make sure the system is resilient and highly available?
a. Redundancy
b. Fault-tolerant
c. Security
d. All of the above
d. All of the above
Which one of the following essentially maintains the distributed network across all nodes, pods, and containers?
a. Controller
b. API server
d. kubelet
d. kube-proxy
b. API server
Which one of the following will enable you to make SSH connection to EC2 machine from your laptop?
a. EC2 instance in running state
b. Pem (.pem or .ppk) file configured into EC2 instance
c. Security Group configured to allow inbound traffic at port 22 from anywhere
d. All of the above
d. All of the above
What is the name of the handy service that Angular provides out of the box that can be used to make REST API calls from Angular?
a. JAX-RS
b. Dependency Injection
c. Jersey
d. HttpClient
d. HttpClient
What are the correct port numbers an Ingress Controller can listen to?
a. 8080, 8443
b. 30000, 32767
c. 80, 443
d. All of the above
c. 80, 443
What annotation(s) are used to facilitate the automatic creation of the value of the primary key in a JPA entity when you persist the JPA entity in a table?
a. @PrimaryKey @Automated
b. @Id @GenerateValue
c. @Id @StrategyAuto
d. All of the above
b. @Id @GenerateValue
Which one of the following tools can be used to implement a fully functional DevOps-based CI/CD pipeline?
a. Jenkins
b. Git
c. ArgoCD/Kubernetes
d. All of the above
d. All of the above
Which of the following annotations of JAX RS API is used to annotate a method to specify the relative path of the sub resource?
a. @GET
b. @Path
c. @POST
d. @PUT
b. @Path
In the following, code, what is the purpose of {{}}?
<h3>
<a [title]="product.name + 'details'">
{{ product.name }}
</a>
</h3>
a. Mustache syntax
b. Two-way data binding
c. Interpolation
d. None of the above
c. Interpolation
What is true about Docker containers?
a. Containers allow packaging of an application and its dependencies in a way that can run on any Linux server
b. Promotes portability and flexibility on where the application can run
c. Provides consistency in application deployment
d. All of the above
d. All of the above