AWS

[vc_row full_width=”stretch_row” css=”.vc_custom_1559286923229{background-color: #f6f6f7 !important;}”][vc_column width=”1/2″][vc_tta_accordion color=”peacoc” active_section=”1″ collapsible_all=”true”][vc_tta_section title=”What type of performance can you expect from Elastic Block Storage? How do you back it up and enhance the performance ?” tab_id=”1559286383409-ab730398-6c03″][vc_column_text]Performance of an elastic block storage varies i.e. it can go above the SLA performance level and after that drop below it. SLA provides an average disk I/O rate  which can at times frustrate performance experts who yearn for reliable and consistent disk throughput on a server. Virtual AWS instances do not behave this way. One can backup EBS volumes through a graphical user interface like elasticfox or use the snapshot facility through an API call. Also, the performance can be improved by using Linux software raid and striping across four volumes.[/vc_column_text][/vc_tta_section][vc_tta_section title=”Imagine that you have an AWS application that requires 24×7 availability and can be down only for a maximum of 15 minutes. How will you ensure that the database hosted on your EBS volume is backed up?” tab_id=”1559286522681-3bf94e12-e7b7″][vc_column_text]Automated backup are the key processes here as they work in the background without requiring any manual intervention. Whenever there is a need to back up the data, AWS API and AWS CLI play a vital role in automating the process through scripts. The best way is to prepare for a timely backup of EBS of the EC2 instance. The EBS snapshot should be stored on Amazon S3 and can be used for recovery of the database instance in case of any failure or downtime.[/vc_column_text][/vc_tta_section][vc_tta_section title=”You create a Route 53 latency record set from your domain to a system in Singapore and a similar record to a machine in Oregon. When a user located in India visits your domain, to which location will he be routed to?” tab_id=”1561382593569-b1979b66-b066″][vc_column_text]Assuming that the application is hosted on Amazon EC2 instance and multiple instances of the applications are deployed on different EC2 regions. The request is most likely to go to Singapore because Amazon Route 53 is based on latency and it routes the requests based on the location that is likely to give the fastest response possible.[/vc_column_text][/vc_tta_section][vc_tta_section title=”Differentiate between on-demand instance and spot instance.” tab_id=”1561382595833-dd54d407-26c0″][vc_column_text]Spot Instances  are spare unused EC2 instances which one can bid for. Once the bid exceeds the existing spot price (which changes in real-time based on demand and supply) the spot instance will be launched. If the spot price becomes more than the bid price then the instance can go away anytime and terminated within 2 minutes of notice. The best way to decide on the optimal bid price for a spot instance is to check the price history of last 90 days that is available on AWS console. The advantage of spot instances is that they are cost-effective and the drawback is that they can be terminated anytime. Spot instances are ideal to use when –

  • There are optional nice to have tasks.
  • You have flexible workloads which can be run when there is enough compute capacity.
  • Tasks that require extra computing capacity to improve performance.

On-demand instances are made available whenever you require them and you need to pay for the time you use them on an hourly basis. These instances can be released when they are no longer required and do not require any upfront commitment. The availability fo these instances is guaranteed by AWS unlike spot instances.

The best practice is to launch couple of on-demand instances which can maintain minimum level of guaranteed compute resources for the application and add-on few spot instances whenever there is an opportunity.[/vc_column_text][/vc_tta_section][vc_tta_section title=”How will you access the data on EBS in AWS ?” tab_id=”1561382597303-5168678c-55b9″][vc_column_text]Elastic block storage as the name indicates provides persistent, highly avaialble and high performance block level storage that can be attached to a running EC2 instance. The storage can formatted and mounted as a file system or the raw storage can be accessed directly.[/vc_column_text][/vc_tta_section][vc_tta_section title=”What is the boot time for an instance store backed instance ?” tab_id=”1561382598718-1fee5a6b-29dd”][vc_column_text]The boot time for an Amazon Instance Store -Backed AMI is usually less than 5 minutes.[/vc_column_text][/vc_tta_section][vc_tta_section title=”Is it possible to vertically scale on an Amazon Instance? If yes, how ?” tab_id=”1561382602352-48d936eb-64df”][vc_column_text]Following are the steps to scale an Amazon Instance vertically –

  • Spin up a larger Amazon instance than the existing one.
  • Pause the exisiting instance to remove the root ebs volume from the server  and discard.
  • Stop the live running instance and detach its root volume.
  • Make a note of the unique device ID and attach that root volume to the new server.
  • Start the instance again.

[/vc_column_text][/vc_tta_section][vc_tta_section title=”Differentiate between vertical and horizontal scaling in AWS.” tab_id=”1561382603416-a2e0c7df-e6f8″][vc_column_text]The main difference between vertical and horizontal scaling is the way in which you add compute resources to your infrastructure. In vertical scaling, more power is added to the existing machine while in horizontal scaling additional resources are added into the system with the addition of more machines into the network so that the workload and processing is shared among multiple devices. The best way to understand the difference is imagine that you are retiring your Toyota and buying a Ferrari because you need more horsepower. This is vertical scaling. Another way to get that added horsepower is not to ditch the Toyota for the Ferrari but buy another car. This can be related to horizontal scaling where you drive several cars all at once.

When the users are up to 100, an EC2 instance alone is enough to run the entire web application or the database until the traffic ramps up. Under such circumstances when the traffic ramps up, it is better to scale vertically by increasing the capacity of the EC2 instance to meet the increasing demands of the application. AWS supports instances up to 128 virtual cores or 488GB RAM.

When the users for your application grow up to 1000 or more, vertical cannot handle requests and there is need for horizontal scaling which is achieved through distributed file system, clustering, and load balancing.[/vc_column_text][/vc_tta_section][vc_tta_section title=”What is the total number of buckets that can be created in AWS by default ?” tab_id=”1561382604362-41fc1dd4-d143″][vc_column_text]100 buckets can be created in each of the AWS accounts. If additional buckets are required, increase the bucket limit by submitting a service limit increase.[/vc_column_text][/vc_tta_section][vc_tta_section title=”Differentiate between Amazon RDS, Redshift and Dynamo DB.” tab_id=”1561382605426-bedbe54f-bb01″][vc_column_text]

Features Amazon RDS Redshift Dynamo DB
Computing Resources Instances with 64 vCPU and 244 GB RAM Nodes with vCPU and 244 GB RAM Not specified, SaaS-Software as a Service.
Maintenance Window 30 minutes every week. 30 minutes every week. No impact
Database Engine MySQL, Oracle DB, SQL Server,Amazon Aurora, Postgre SQL Redshift NoSQL
Primary Usage Feature Conventional Databases Datawarehouse Database for dynamically modified data
Multi A-Z Replication Additional Service Manual In-built

[/vc_column_text][/vc_tta_section][vc_tta_section title=”An organization wants to deploy a two-tier web applications on AWS. The application requires complex query processing and table joins. However, the company has limited resources and requires high availability. Which is the best configuration that company can opt for based on the requirements ?” tab_id=”1561382606689-6de5471f-2224″][vc_column_text]DynamoDB deals with core problems of database scalability, management, reliability, and performance but does not have the functionalities of a RDBMS. DynamoDB does not render support for complex joins or query processing or complex transactions.  You can run a relational engine on Amazon RDS or EC2 for this kind of a functionality.[/vc_column_text][/vc_tta_section][vc_tta_section title=”If you have half of the workload on public cloud while the other half is on local storage, what kind of architecture will you use for this ?” tab_id=”1561382593038-8e7f1218-a7ac”][vc_column_text]Hybrid Cloud Architecture[/vc_column_text][/vc_tta_section][vc_tta_section title=”Is it possible to cast-off S3 with EC2 instances ? If yes, how ?” tab_id=”1561382592598-bfa5a635-55f4″][vc_column_text]It is possible to cast-off S3 with EC2 instances using root approaches backed by native occurrence storage.[/vc_column_text][/vc_tta_section][vc_tta_section title=”How will you configure an instance with the application and its dependencies , and make it ready to serve traffic?” tab_id=”1561382592102-02f6742f-af9d”][vc_column_text]You can acheive this with the use of lifecycle hooks. They are powerful as they let you pause the creation or termination of an instance so that you can sneak peak in and perform custom actions like configuring the instance, downloading the required files, and any other steps that are required to make the instance ready.Every auto scaling group can have multiple lifecycle hooks.[/vc_column_text][/vc_tta_section][vc_tta_section title=”How can you safeguard EC2 instances running on a VPC ?” tab_id=”1561382591605-a59a34b3-da74″][vc_column_text]AWS Security groups associated with EC2 instances can help you safeguard EC2 instances running in a VPC by providing security at the protocol and port access level. You can configure both INBOUND and OUTBOUND traffic to enables secured access for the EC2 instance.AWS security groups are much similar to a firewall-they contain set of rules which filter the traffic coming into and out of an EC2 instance and deny any kind of unauthorized access to EC2 instances.[/vc_column_text][/vc_tta_section][vc_tta_section title=”How many EC2 instances can be used in a VPC ?” tab_id=”1561382591221-5a07bad8-cf1f”][vc_column_text]There is a limit of running up to a total of 20 on-demand instances across the instance family , you can purchase 20 reserved instances and request spot instances as per your dynamic spot limit region.[/vc_column_text][/vc_tta_section][vc_tta_section title=”What are some of the key best practices for security in Amazon EC2?” tab_id=”1561382590677-cc47cbcf-ee26″][vc_column_text]

  • Create individual IAM (Identity and Access Management) users to control access to your AWS recourses. Creating separate IAM user provides separate credentials for every user making it possible to assign different permissions to each user based on the access requirements.
  • Secure the AWS Root account and its access keys.
  • Harden EC2  instances by disabling unnecessary services and applications by installing only necessary software and tools on EC2 instances.
  • Grant least privileges by opening up permissions that are required to perform a specific task and not more than that. Additional permissions can be granted as required.
  • Define and review the security group rules on a regular basis.
  • Have a well-defined strong password policy for all the users.
  • Deploy anti-virus software on the AWS network to protect it from Trojans, Viruses, etc.

[/vc_column_text][/vc_tta_section][vc_tta_section title=”How many Elastic IP address can be associated with a single account?” tab_id=”1561382590095-0dd9d5a4-e5bf”][vc_column_text]5[/vc_column_text][/vc_tta_section][vc_tta_section title=”Name some cloud service providers for public & private cloud?” tab_id=”1561382589718-2e1a6ceb-a239″][vc_column_text]

Public: Amazon web services, Microsoft Azure, Google Cloud, Oracle Cloud, Alibaba Cloud

Private: Redhat-Openstack, Rackspace, VMware, IBM Private Cloud

[/vc_column_text][/vc_tta_section][vc_tta_section title=”What is the difference between S3 and Glacier storage?” tab_id=”1561382589333-47659694-5e1f”][vc_column_text]S3 is a simple storage service, which is used to store and retrieve data. We can store any amount of data and any type of data. Data that we are storing here are referred as objects. Whereas the Glacier storage is an archival store which is used to store infrequently accessed data or cold data. Major use case of glacier is data archiving and backup.[/vc_column_text][/vc_tta_section][vc_tta_section title=”EC2 Machine types define which of the following ?” tab_id=”1561382588926-dd3c13fa-09be”][vc_column_text]Core Count[/vc_column_text][/vc_tta_section][vc_tta_section title=”Which is default instance type?” tab_id=”1561382588517-7fc83786-ee5a”][vc_column_text]On-Demand[/vc_column_text][/vc_tta_section][vc_tta_section title=”What is Elastic Computing ?” tab_id=”1561382588060-9c018b10-4231″][vc_column_text]You can spin up and spin down VMs[/vc_column_text][/vc_tta_section][vc_tta_section title=”You can upload a custom configuration virtual image and sell it on the AWS Marketplace. True or false ?” tab_id=”1561382587557-eee3186e-5475″][vc_column_text]True[/vc_column_text][/vc_tta_section][vc_tta_section title=”How can you monitor network traffic in your VPC?” tab_id=”1561382583069-d03ea374-27b7″][vc_column_text]It is possible using Amazon VPC Flow-Logs feature.[/vc_column_text][/vc_tta_section][/vc_tta_accordion][/vc_column][vc_column width=”1/2″][vc_tta_accordion color=”peacoc” active_section=”1″ collapsible_all=”true”][vc_tta_section title=”What should be the instance’s tenancy attribute for running it on a single tenant hardware ?” tab_id=”1561382561432-7f73ef2a-cc67″][vc_column_text]The instance tenancy attribute must be set to a dedicated instance and other values might not be appropriate for this operation.[/vc_column_text][/vc_tta_section][vc_tta_section title=”There is a distributed application that processes huge amounts of data across various EC2 instances. Application is designed in such a way that it can recover gracefully from EC2 instance failures. How will you accomplish this in a cost effective manner ?” tab_id=”1561382561455-654071d3-eb53″][vc_column_text]On-demand or reserved instance will not be ideal in this case as the task here is not continuous. Moreover. It does not make sense to launch an on-demand instance whenever work comes up because on-demand instances are expensive.In this case, the ideal choice would be to opt for a spot instance owing to its cost effectiveness and no long term commitments.[/vc_column_text][/vc_tta_section][vc_tta_section title=”What are the important features of a classic load balancer in EC2 ?” tab_id=”1561382611424-56181e07-6453″][vc_column_text]

  • The high availability feature ensures that the traffic is distributed among EC2 instances in single or multiple availability zones.This ensures high scale of availability for incoming traffic.
  • Classic load balancer can decide whether to route the traffic or not based on the results of health check.
  • You can implement secure load balancing within a network  by creating security groups in a VPC.
  • Classic load balancer supports sticky sessions which ensure that the traffic from a user is always routed to the same instance for a seamless experience.

[/vc_column_text][/vc_tta_section][vc_tta_section title=”What parameters will you take into consideration when choosing the availability zone ?” tab_id=”1561382613753-7c9c9136-4ca1″][vc_column_text]Performance, pricing, latency, and response time are some of the factors to consider when selecting the availability zone.[/vc_column_text][/vc_tta_section][vc_tta_section title=”Which instance will you use for deploying a 4-node Hadoop cluster in AWS ?” tab_id=”1561382614729-6b63842b-62b1″][vc_column_text]We can use a c4.8x large instance or i2.large for this, but using a c4.8x will require a better configuration on PC.[/vc_column_text][/vc_tta_section][vc_tta_section title=”Will you use encryption for S3 ?” tab_id=”1561382615672-42dd66a8-6425″][vc_column_text]It is better to consider encryption for sensitive data on S3 as it is a proprietary technology.[/vc_column_text][/vc_tta_section][vc_tta_section title=”How can you send request to Amazon S3 ?” tab_id=”1561382616984-e392adb7-34cd”][vc_column_text]Using the REST API or the AWS SDK wrapper libraries which wrap the underlying Amazon S3 REST API.[/vc_column_text][/vc_tta_section][vc_tta_section title=”How will you bind the user session with a specific instance in ELB (Elastic Load Balancer) ?” tab_id=”1561382618152-4fb6fc3a-9883″][vc_column_text]This can be achieved by enabling Sticky Session.[/vc_column_text][/vc_tta_section][vc_tta_section title=”What are the possible connection issues you encounter when connecting to an EC2 instance ?” tab_id=”1561382619930-3767e1f0-f3d6″][vc_column_text]

  • Unprotected private key file
  • Server refused key
  • Connection timed out
  • No supported authentication method available
  • Host key not found,permission denied.
  • User key not recognized by the server, permission denied.

[/vc_column_text][/vc_tta_section][vc_tta_section title=”What is the difference between Amazon S3 and EBS ?” tab_id=”1561382620762-261798c4-b2da”][vc_column_text]

Amazon S3 EBS
Paradigm Object Store Filesystem
Security Private Key or Public Key Visible only to your EC2
Redundancy Across data centers Within the data center
Performance Fast Superfast

[/vc_column_text][/vc_tta_section][vc_tta_section title=”Can you run multiple websites on an EC2 server using a single IP address?” tab_id=”1561382621738-44e10b8a-ca7d”][vc_column_text]More than one elastic IP is required to run multiple websites on EC2.[/vc_column_text][/vc_tta_section][vc_tta_section title=”What happens when you reboot an EC2 instance?” tab_id=”1561382622978-99f18b2d-fe4d”][vc_column_text]Rebooting an instance is just similar to rebooting a PC. You do not return to image’s original state, however, the contents of the hard disk are same as before the reboot.[/vc_column_text][/vc_tta_section][vc_tta_section title=”A content management system running on EC2 instance is approaching 100% CPU utilization. How will you reduce the load on EC2 instance ?” tab_id=”1561382623945-e109c4d3-ece0″][vc_column_text]This can be done by attaching a load balancer to an autoscaling group to efficiently distribute load among all instances.[/vc_column_text][/vc_tta_section][vc_tta_section title=”What happens when you launch instances in Amazon VPC ?” tab_id=”1561382625642-843354b1-1f56″][vc_column_text]Each instance has a default IP address when the instance is launched in Amazon VPC. This approach is considered ideal when you need to connect cloud resources with the data centers.[/vc_column_text][/vc_tta_section][vc_tta_section title=”Can you modify the private IP address of an EC2 instance while it is running in a VPC ?” tab_id=”1561382626563-0fa3f678-a5bf”][vc_column_text]It is not possible to change the primary private IP addresses. However, secondary IP addresses can be assigned, unassigned or moved between instances at any given point.[/vc_column_text][/vc_tta_section][vc_tta_section title=”You are launching an instance under the free usage tier from AMI having a snapshot size of 50GB. How will you launch the instance under the free usage tier ?” tab_id=”1561382627658-bb4ddb6b-277e”][vc_column_text]It is not possible to launch this instance under the free usage tier.[/vc_column_text][/vc_tta_section][vc_tta_section title=”Which load balancer will you use to make routing decisions at the application layer or transport layer that supports either VPC or EC2?” tab_id=”1561382628592-dd61fe2e-19d3″][vc_column_text]

 

Classic Load Balancer

 

[/vc_column_text][/vc_tta_section][vc_tta_section title=”What is The Maximum Size Of An S3 Bucket?” tab_id=”1561382630393-e350687e-823e”][vc_column_text]5 Terabytes[/vc_column_text][/vc_tta_section][vc_tta_section title=”Which service of Amazon AWS is used to host a static website” tab_id=”1561382632977-3b296953-06eb”][vc_column_text]Amazon Simple Storage Service(S3)[/vc_column_text][/vc_tta_section][vc_tta_section title=”Which service distribute the contents from Edge Locations to the end users to reduce the latency?” tab_id=”1561382634764-ad5070ba-db90″][vc_column_text]Amazon CloudFront[/vc_column_text][/vc_tta_section][vc_tta_section title=”I am a cloud web service used for hosting your application. Who am I?” tab_id=”1561382636355-5dfe038c-83df”][vc_column_text]AWS EC2[/vc_column_text][/vc_tta_section][vc_tta_section title=”What is Auto Scaling?” tab_id=”1561382638762-3bfa136c-84a1″][vc_column_text]Creating/Terminating duplicate instances using Scale IN/OUT[/vc_column_text][/vc_tta_section][vc_tta_section title=”You want complex querying capabilities but don’t want data warehouse. Which database service you would choose?” tab_id=”1561382649403-b75ce50f-0f5c”][vc_column_text]Amazon RDS

[/vc_column_text][/vc_tta_section][vc_tta_section title=”What is an Availability Zone?” tab_id=”1561382651188-733a0ad7-4f7c”][vc_column_text]A location inside a Region which is protected from failures[/vc_column_text][/vc_tta_section][vc_tta_section title=”How many Buckets you can create in S3?” tab_id=”1561382674843-1f0b68aa-358c”][vc_column_text]100[/vc_column_text][/vc_tta_section][/vc_tta_accordion][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]Questions Source:https://www.besanttechnologies.com/aws-interview-questions-and-answers[/vc_column_text][/vc_column][/vc_row][vc_row full_width=”stretch_row” overlay_color=”rgba(12,12,12,0.58)” css=”.vc_custom_1528340415800{padding-bottom: 104px !important;background-image: url(https://wordpresslms.thimpress.com/wp-content/uploads/sites/4/2017/06/layer-532.jpg?id=231) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}” el_class=”overflow-visible become-teacher”][vc_column width=”1/2″][vc_column_text el_class=”align-right”]

Please login to send your request!
[/vc_column_text][/vc_column][vc_column width=”1/2″ el_class=”talk”][vc_column_text el_class=”thim-content-talk”]I’m a Copywriter in a Digital Agency, I was searching for courses that’ll help me broaden my skill set. Before signing up for Rob’s.[/vc_column_text][/vc_column][/vc_row]

WhatsApp us