GlobalLogic
10+ Citrix Interview Questions and Answers
Different types of EC2 instances based on costs include On-Demand Instances, Reserved Instances, and Spot Instances.
On-Demand Instances: Pay for compute capacity by the hour or second with no long-term commitments.
Reserved Instances: Reserved capacity for 1 or 3 years, offering significant discounts compared to On-Demand pricing.
Spot Instances: Bid on spare Amazon EC2 computing capacity, often available at a fraction of the cost of On-Demand instances.
The command to import a pre-exported Docker image into another Docker host is 'docker load'.
Use the 'docker load' command followed by the file path of the exported image to import it into the new Docker host.
For example, 'docker load < exported_image.tar' will import the image from the file 'exported_image.tar'.
CMD specifies the default command to run when a container is started, while ENTRYPOINT specifies the executable to run when the container starts.
CMD can be overridden at runtime by passing arguments to docker run command
ENTRYPOINT cannot be overridden at runtime, but arguments can be passed to it using docker run command
CMD is often used for specifying the main application to run in the container
ENTRYPOINT is commonly used for defining the executable that runs the main applic...read more
Lifecycle hooks in Auto Scaling allow you to perform custom actions before instances launch or terminate.
Lifecycle hooks can be used to pause the instance launch process to perform custom actions, such as bootstrapping or configuration setup.
They can also be used to pause the instance termination process to allow for data backup or graceful shutdown.
By using lifecycle hooks, you can ensure that your instances are properly configured and prepared before they become fully opera...read more
The lifecycle of a Docker container involves creation, running, pausing, stopping, and deletion.
Creation: Docker container is created from an image using 'docker run' command.
Running: Container is started and runs the specified application or service.
Pausing: Container can be paused using 'docker pause' command to temporarily stop its processes.
Stopping: Container can be stopped using 'docker stop' command, which halts its processes.
Deletion: Container is removed using 'docke...read more
Git rebase is used to maintain a linear project history, while Git merge is used to combine branches.
Use Git rebase when you want to maintain a clean and linear project history.
Use Git merge when you want to combine branches while preserving the commit history.
Rebasing is useful for keeping feature branches up to date with the main branch.
Merging is useful for integrating changes from multiple branches into a single branch.
Rebasing can lead to a cleaner history but can cause ...read more
Amazon EC2 is a web service that provides resizable compute capacity in the cloud.
Amazon EC2 stands for Elastic Compute Cloud
It allows users to rent virtual servers on which to run their own applications
Users can choose from a variety of instance types with different CPU, memory, storage, and networking capacities
EC2 instances can be easily scaled up or down based on demand
Users only pay for the compute capacity they actually use
Git stash is a command in Git that temporarily shelves changes you've made to your working directory.
Git stash is used to save changes that are not ready to be committed yet.
It allows you to switch branches without committing changes.
You can apply the stashed changes later on using 'git stash apply'.
You can list all stashed changes with 'git stash list'.
You can remove stashed changes with 'git stash drop'.
Q9. Load Balancer types , difference between application load balancer and network load balancer
Application Load Balancer and Network Load Balancer are two types of load balancers used in cloud computing.
Application Load Balancer operates at the application layer and is used to distribute traffic to multiple targets based on the content of the request.
Network Load Balancer operates at the transport layer and is used to distribute traffic to multiple targets based on IP protocol data.
Application Load Balancer supports HTTP/HTTPS protocols and can route traffic based on U...read more
Q10. Docker Files. Difference between CMD and ENTRYPOINT ,ADD and COPY instructions
CMD and ENTRYPOINT are used to define the default command to run in a container. ADD and COPY are used to add files to a container.
CMD is used to specify the default command to run when a container is started. It can be overridden by passing a command to docker run.
ENTRYPOINT is similar to CMD, but it is not overridden by passing a command to docker run. It is used to define the main command that should be run in the container.
ADD and COPY are used to add files to a container...read more
Auto Scaling in AWS is a feature that automatically adjusts the number of compute resources in response to changes in demand.
Automatically adjusts the number of EC2 instances based on traffic or performance metrics
Helps maintain application availability and reduce costs by scaling up or down as needed
Can be configured to scale based on CPU utilization, network traffic, or custom metrics
Example: Auto Scaling group can be set up to add more instances during peak hours and remov...read more
Docker images are lightweight, standalone, executable packages that contain everything needed to run a piece of software.
Docker images are built from Dockerfiles, which specify the environment and dependencies needed for the software to run.
Images can be stored in Docker registries like Docker Hub for easy sharing and distribution.
Containers are created from Docker images and run as isolated processes on a host machine.
Docker images are layered, meaning they can be built on t...read more
Docker Namespaces are a feature in Docker that isolates containers from each other and the host system.
Namespaces provide a way to isolate processes, network, and filesystem for containers.
Examples of namespaces include PID (process IDs), NET (networking), and MNT (mount points).
Each container runs in its own set of namespaces, providing a level of isolation and security.
Q14. Explain Jenkins pipeline of your Project
Jenkins pipeline automates the software delivery process by defining a set of steps and actions to be executed.
Pipeline is defined using a Jenkinsfile
Pipeline stages define the steps to be executed
Pipeline can include parallel stages and conditional steps
Pipeline can integrate with other tools like Git, Docker, and Kubernetes
Q15. Difference between Git rebase and Git merge
Git rebase modifies the commit history while Git merge creates a new merge commit.
Git rebase rewrites the commit history by moving the entire feature branch to the tip of the master branch
Git merge creates a new merge commit that combines the changes from both branches
Rebasing is useful for keeping a linear commit history while merging is useful for combining multiple branches
Rebasing can cause conflicts if multiple developers are working on the same branch
Merging can result ...read more
Q16. Route 53 routing policies
Route 53 routing policies determine how traffic is routed to your resources.
There are several routing policies available in Route 53, including simple, weighted, latency-based, geolocation-based, and failover.
Simple routing policy sends traffic to a single resource.
Weighted routing policy distributes traffic based on weights assigned to each resource.
Latency-based routing policy sends traffic to the resource with the lowest latency.
Geolocation-based routing policy sends traff...read more
Reviews
Interviews
Salaries
Users/Month