New Emerging World Of Journalism
10+ Green Valley Resort Interview Questions and Answers
Q1. How do u auto scale the application when there is huge traffic?
Auto scaling can be achieved through horizontal scaling and vertical scaling.
Horizontal scaling involves adding more instances of the application to handle the increased traffic.
Vertical scaling involves increasing the resources of the existing instances to handle the increased traffic.
Auto scaling can be achieved through tools like AWS Auto Scaling, Kubernetes Horizontal Pod Autoscaler, etc.
Metrics like CPU utilization, network traffic, and request latency can be used to tri...read more
Q2. What are difference deployment strategies?
Deployment strategies are different ways to release software changes to production.
Blue/Green Deployment
Canary Deployment
Rolling Deployment
A/B Testing
Shadow Deployment
Q3. What is dangling images in docker?
Dangling images in Docker are unused images that are not associated with any container.
Dangling images can accumulate over time and take up valuable disk space.
They can be removed using the 'docker image prune' command.
An example of a dangling image is an image that was created but not used in any container.
Dangling images can also be created when a container is stopped and a new image is built using the same name.
Q4. How to auto scale pods in k8s?
Auto scaling pods in k8s can be achieved using Horizontal Pod Autoscaler (HPA) and Kubernetes Metrics Server.
Create a Deployment or ReplicaSet for the pod
Enable metrics server to collect resource utilization data
Create an HPA object and set the minimum and maximum number of replicas
Set the target CPU utilization percentage for the HPA
HPA will automatically adjust the number of replicas based on resource utilization
Example: kubectl autoscale deployment my-deployment --cpu-perc...read more
Q5. How to save space in Jenkins?
Use disk cleanup, delete old builds, limit log retention, and use thin backup to save space in Jenkins.
Use disk cleanup to remove unnecessary files and temporary data.
Delete old builds that are no longer needed.
Limit log retention to reduce the amount of space used by logs.
Use thin backup to backup only essential data and save space.
Consider using external storage solutions for larger Jenkins instances.
Q6. How do u monitor k8s cluster?
K8s cluster can be monitored using various tools and techniques.
Use Kubernetes Dashboard to view the status of the cluster and its resources
Use Prometheus and Grafana for monitoring and alerting
Use Kubernetes events to track changes and issues
Use logging tools like ELK stack or Fluentd to collect and analyze logs
Use container monitoring tools like cAdvisor or Sysdig
Use third-party monitoring tools like Datadog or New Relic
Q7. How to secure jenkins?
Secure Jenkins by implementing authentication, authorization, and encryption.
Implement authentication using plugins like LDAP or Active Directory.
Use role-based access control to ensure only authorized users have access to Jenkins.
Enable HTTPS encryption to secure communication between Jenkins and users.
Regularly update Jenkins and its plugins to patch security vulnerabilities.
Use security-focused plugins like OWASP Markup Formatter and Static Analysis Utilities.
Limit access ...read more
Q8. What is ansible and terraform?
Ansible and Terraform are both infrastructure as code tools used for automation and configuration management.
Ansible is a tool for automating software provisioning, configuration management, and application deployment.
Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently.
Ansible uses YAML-based playbooks to define tasks and configurations, while Terraform uses a domain-specific language (DSL) called HCL.
Both tools are popular in the ...read more
Q9. Explain K8s architecture?
K8s architecture is a container orchestration system that manages containerized applications across a cluster of nodes.
K8s architecture consists of a master node and worker nodes.
The master node manages the cluster and schedules workloads on worker nodes.
Worker nodes run the containers and communicate with the master node.
K8s architecture includes components such as etcd, kube-apiserver, kube-controller-manager, kube-scheduler, kubelet, and kube-proxy.
K8s architecture allows ...read more
Q10. Triggering methods in Jenkins?
Jenkins supports various triggering methods for builds.
Polling SCM changes
Triggering builds remotely via API
Triggering builds on a schedule
Triggering builds when other builds complete
Triggering builds when changes are pushed to a Git repository
Triggering builds when a specific file or directory is changed in a Git repository
Interview Process at Green Valley Resort
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month