Interview Questions and Answers for 'Amazon' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers - Order By Newest

next 30
 Q11. What are the factors on which customers are charged for using S3 ?Amazon Web Services (AWS)
Ans. Storage Tier ( IA , Standard , Glacier etc )
Storage ( Volume of Data )
No of Requests
Meta Data
Data Transfer Speed acceleration through cache and Edge Location

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws s3  aws storage  amazon cloud storage  amazon s3


 Q12. What are the factors on which price classes are based on in case of EC2, S3, CloudFront and EBS ?Amazon Web Services (AWS)
Ans. EC2 - Time and Reservation , Instance Type ( Memory , Computation power )
S3 - Accessibility Frequency , Data Transfer , Storage Space
CloudFront - Geography, No of Locations
EBS - IOPS, Access Frequency

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws ec2  aws computing  amazon cloud computing  amazon ec2  aws s3  aws storage  amazon cloud storage  amazon s3  aws cloudfront  amazon cloudfront  aws ebs


 Q13. What are the different Route53 routing policies ?Amazon Web Services (AWS)
Ans. Simple
Weighted
Latency
Failover
GeoLocation
Multivalue

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws route53     Asked in 1 Companies


 Q14. What is the relationship between VPC and subnet ? Can you tell with an example ?Networking
Ans. A VPC is devided into multiple subnets. Subnet in a particular VPC could be public or private.

For Example - A particular account may have multiple vpc's for each of the business type. For each Business or VPC , One can have different subnets to cater to each department so that access across departments could be restricted. But still there could be identities that have control over different subnets. Moreover we could have multiple subnets for each department so as to have distinguished public and private networks having different types of applications ( public facing or internal consumption )

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws vpc  aws subnet  subnet  vpc  Amazon Web Services (AWS)


Frequently asked to fresh graduates.
  Q15. Difference between Process and Thread ?Operating System
Ans. Process is a program in execution whereas thread is a separate path of execution in a program.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   threads   multi threading   operating system   process vs thread     Asked in 24 Companies      basic        frequent


 Q16. What is the difference between single instance Web environment and Load Balanced Auto Scaling ? Amazon Web Services (AWS)
Ans. Single instance means there is only 1 instance that will bear all the traffic load whereas Load balanced server means that there will be a cluster of servers that will host the application and load will be balanced distributed among them. Auto Scaling means that the number of instances will be expanded / shrunken based on the rule. Rule could be the traffic count , response time etc.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     load balancing  auto scaling  aws  elastic beanstalk


 Q17. What is cloud computing ?Cloud Computing
Ans. Cloud Computing is a way of using IT infrastructure with following traits -

1. On Demand Infrastructure
2. Broad Network Access
3. Resource Pooling
4. Rapid Elasticity
5. Measured Service

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     google cloud platform (GCP)  Amazon Web Services (AWS


 Q18. What are the services provided by AWS ?Amazon Web Services (AWS)
Ans. AWS provides various types of services like Computing ( EC2 , Lambda , EKS ), Storage ( S3, Glacier ), Database ( RDS , DynamoDB ), Streaming ( Kinesis ), Queue ( SQS ), Security and Access ( IAM ) etc.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q19. What are the problems one could face while working with serverless technologies like AWS Lambda ?Amazon Web Services (AWS)
Ans. Warm up time for certain technologies like Java ( JVM Warmup )

Performance

Size of Deployable ( Bigger size packaging should go in S3 )

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     serverless technologies  aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda     Asked in 1 Companies


 Q20. What is the cost of using Cloud Formation ?Amazon Web Services (AWS)
Ans. Cloud Formation does not have any additional cost but you are charged for the underlying resources it builds.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws cloud formation


 Q21. How does AWS Lambda handle failure during event processing?Amazon Web Services (AWS)
Ans. In AWS Lambda we can run a function in synchronous or asynchronous mode. In synchronous mode, if AWS Lambda function fails, then it will just give an exception to the calling application. In asynchronous mode, if AWS Lambda function fails then it will retry the same function at least 3 times.If AWS Lambda is running in response to an event in Amazon DynamoDB or Amazon Kinesis, then the event will be retried till the Lambda function succeeds or the data expires. In DynamoDB or Kinesis, AWS maintains data for at least 24 hours.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda


 Q22. What does AMI include ?Amazon Web Services (AWS)
Ans. A template for the instance.

Launch permission decisions

A block device mapping, when an instance is launched it determines the volumes to attach to that instances.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws ami  amazon ami


 Q23. Why is cloud infrastructure so powerful ?Cloud Computing
Ans. Because it gives the ability to provision infrastructure on Demand with No contracts and strings attached.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Amazon Web Service (AWS)   Google Cloud Platform (GCP)


 Q24. Which region is the latest and most popular in AWS ? What are the advantages and disadvantages of using this region ?Amazon Web Services (AWS)
Ans. US-East Virginia

This is the oldest and most popular region. All new features are rolled first in this region and hence they are first available there. The downside is that because of experimentation with new services, unavailability time is quite high.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws region  aws us-east-1


 Q25. What are the advantage of having Edge Locations ?Amazon Web Services (AWS)
Ans. It saves Network traffic and facilitates faster delivery by hosting bulk media and cached data near to client.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws edge locations


 Q26. What does effect , action and resource means with respect to AWS IAM policy ?Amazon Web Services (AWS)
Ans. effect means whether the effect of this Policy is to allow or deny, action means the type of action ( read , write ) and service, and resource is the resource where this should apply.

For example - If we want to have a Policy of providing read access on S3 ,
effect will be "allow"
action will be "s3:GetObject"
resource will be "arn:aws:s3:::examplebucket/*"

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws iam  amazon iam


 Q27. Within AWS S3, Why new files are available immediately for read operation but not the updates ? Amazon Web Services (AWS)
Ans. Because new files will be fed from where ever they are first available but AWS have no way to identify which is the most updated version among the various regions. The updated version can only be assured once the replication to all availability zones is complete.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws s3  aws storage  amazon cloud storage  amazon s3


 Q28. What kind of Access Policy should be kept on S3 Buckets and Policy ?Amazon Web Services (AWS)
Ans. We should only allow access that's needed. So the security Policy should be as restrictive as possible.

Buckets and Files should never be made public unless until they are needed it to be like that.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws s3  aws storage  amazon cloud storage  amazon s3


 Q29. How can we protect from accidental deletes in S3 ?Amazon Web Services (AWS)
Ans. Versioning ( will create Delete marker )
MFA Delete ( authentication upon deletion )
Cross Region Replication ( Replicates aren't deleted )

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws s3  aws storage  amazon cloud storage  amazon s3


 Q30. How can we restrict CloudFront access to a particular Geography ?Amazon Web Services (AWS)
Ans. We can select the appropriate Price Class if that suits us.

We can do Geo Targeting by black listing / white listing certain geographies.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws cloudfront  amazon cloudfront


 Q31. What is the use case for "On Demand" EC2 ?Amazon Web Services (AWS)
Ans. If the computation required is Spiky and unpredictable.

If it's first time use.

If the lifespan of the application isn't known.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws ec2  aws computing  amazon cloud computing  amazon ec2


 Q32. What is the use case for "Spot" EC2 plan ?Amazon Web Services (AWS)
Ans. If the usage is non continuous and have flexible start and End Time. For ex - Analysis , Research , mining etc.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws ec2  aws computing  amazon cloud computing  amazon ec2 spot


 Q33. What are the different price options available for EC2 ?Amazon Web Services (AWS)
Ans. On Demand
Reserved
Spot
Dedicated Host

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws ec2  aws computing  amazon cloud computing  amazon ec2


 Q34. What EC2 configuration would you use if you have to use it for Bitcoin mining ?Amazon Web Services (AWS)
Ans. Keeping Low cost for processing , i would choose

Spot Price Plan
F1 or P3 Instance Type
Cold Hdd (SCI ) EBS Volume

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws ec2  aws computing  amazon cloud computing  amazon ec2


 Q35. Which AWS services would you use if you have find a cheapest solution for an analytics application ?Amazon Web Services (AWS)
Ans. Computation

Spot Price Plan
F1 or P3 Instance Type
Cold Hdd (SCI ) EBS Volume

Storage

S3-IA

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws computation  aws ec2  aws computing  amazon cloud computing  amazon ec2


 Q36. Can a EC2 instance have multiple Security Groups ? Can a single security group be assigned to multiple Ec2 instances ? If either of them is true , doesn't it result in conflict ?Amazon Web Services (AWS)
Ans. We can assign multiple security groups to single instance and we can use single security group with multiple instances.

It never results in conflict as security groups only have allow rules and no deny rules. Multiple security groups for an instance results in union of all rules.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws ec2  aws computing  amazon cloud computing  amazon ec2  aws security group


 Q37. Can we deny access for particular IP using Security Groups ?Amazon Web Services (AWS)
Ans. No, We can do that through ACL

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws security group


 Q38. Difference between S3 and EFS ?Amazon Web Services (AWS)
Ans. S3 is object based whereas EFS is block based.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws s3  aws storage  amazon cloud storage  amazon s3  aws efs


 Q39. There is a server which is 90% full, I need to increase the space. How can I do it ?Server
Ans. Firstly ,we have removed old backup data from server after that we are checking which user consume high memory through df command.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     server  Amazon Web Service (AWS)  production support     Asked in 1 Companies


  Q40. Write a Program to check if 2 strings are Anagrams ?Core Java
Ans. public void checkIfAnagram(String str1,String str2){
boolean anagram = true;
for(char c:str1.toCharArray()){
if(!str2.contains(String.valueOf(c))){
System.out.println("Strings are Anagrams");
anagram = false;
}

if(anagram == true){
System.out.println("Strings are not Anagrams");
}
}
}

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve      check if 2 strings are Anagrams     Asked in 30 Companies      basic        frequent


next 30

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: