Interview Questions and Answers for 'C' | 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 Rating

   next 30
 Q481. Which EBS Volume type cannot be used as a root volume ?
Amazon Web Services (AWS)
Ans. Throughput Optimal HDD and Cold HDD

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

   Like         Discuss         Correct / Improve     aws ebs  aws root volume


 Q482. What are the drawbacks of using Spot EC2 instances ?Amazon Web Services (AWS)
Ans. You cannot reserve the time slot and they can be made to use whenever they are available.

AWS can Terminate the EC2 instance on their own even if it's in use.

 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 ec2  aws computing  amazon cloud computing  amazon ec2 spot


 Q483. What are the different EC2 instance types ?Amazon Web Services (AWS)
Ans. F,I,G,H,T,D,R,M,C,P,X

 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 ec2  aws computing  amazon cloud computing  amazon ec2 instance type


 Q484. Can we have EBS Volumes in S3 ?Amazon Web Services (AWS)
Ans. No , S3 is an object storage and not a Block Storage. But EBS Volume snapshots are internally stored in S3.

 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 ebs


 Q485. If you override hashcode to always return true, how a hash based collection will behave?Core Java
Ans. At that bucket, it will form a linked list depending on what equals method evaluates for that object.

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

   Like         Discuss         Correct / Improve     hashcode  collections     Asked in 2 Companies


 Q486. Which is the cheapest EC2 instance type ?Amazon Web Services (AWS)
Ans. T

 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 instance type


 Q487. Which EC2 instance type should be used if the application is memory intensive ?Amazon Web Services (AWS)
Ans. R4

 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


 Q488. Which EBS Volume is suitable if we need to install SQL with every high requests per second ?Amazon Web Services (AWS)
Ans. We can use "Provisioned IOPS SSD"

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

   Like         Discuss         Correct / Improve     aws ebs


 Q489. 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


 Q490. 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


 Q491. 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


 Q492. What is the use case for "Dedicated Host" EC2 plan ?Amazon Web Services (AWS)
Ans. If there are regulatory requirements, or proprietary license to be used.

 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 dedicated host


 Q493. 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


 Q494. What is the use case for "Reserved" EC2 plan ?Amazon Web Services (AWS)
Ans. If the usage is continuous , stable and predictable.

 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 reserved


 Q495. 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


 Q496. What is the use case for Amazon Glacier ?Amazon Web Services (AWS)
Ans. Amazon Glacier is used for storing archieved files / objects and hence well suited for files where retrieval time isn't that important.

 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 s3  aws storage  amazon cloud storage  amazon s3 glacier  aws glacier


 Q497. What is the use case of aws S3-IA ?Amazon Web Services (AWS)
Ans. IA stands for infrequently accessed and hence it's suited for files / objects are expected to be accessed infrequently.

 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 s3  aws storage  amazon cloud storage  amazon s3-ia


 Q498. Write a Program to find depth of node binary tree ? Algorithm
Ans. public static int getLevel(Node root, int key) {
int levelOfNode = getLevelUtil(root, key, 1);
return levelOfNode;
}

public static int getLevelUtil(Node root, int key, int level) {
if (root == null) return 0;
if (root.data == key) return level;
int left = getLevelUtil(root.left, key, level 1);
int right = getLevelUtil(root.right, key, level 1);
if (left != 0) return left;
else return right;
}

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

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q499. write a program for 4 digit otp generation?Design
Ans. import java.util.Random;

public class OTPGenerator {
public static void main(String[] args) {
int otpLength = 4;
String otp = generateOTP(otpLength);
System.out.println("Generated OTP: " otp);
}

private static String generateOTP(int length) {
StringBuilder otp = new StringBuilder();
Random random = new Random();

for (int i = 0; i < length; i ) {
int digit = random.nextInt(10);
otp.append(digit);
}

return otp.toString();
}
}

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

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q500. What could be done if we try to upload a file larger than the allowed size in S3 ?Amazon Web Services (AWS)
Ans. We can use multi part upload API

 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


 Q501. What is AWS Storage Gateway?Amazon Web Services (AWS)
Ans. It's an on premise virtual appliance that can be used as cache to store s3 locally at customer site.

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

   Like         Discuss         Correct / Improve     aws storage gateway


 Q502. How can we restrict CloudFront Access ?Amazon Web Services (AWS)
Ans. Price Class
Geo Targeting
Signed Urls , Signed Cookies

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

   Like         Discuss         Correct / Improve     aws cloudfront  amazon cloudfront


 Q503. 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


 Q504. What are the different things we can restrict CloudFront access on ?

Amazon Web Services (AWS)
Ans. 1. Protocol ( http, https )
2. Url Pattern ( *, /abc* )
3. Operation ( Put , Post , Delete etc )
4. Geo

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

   Like         Discuss         Correct / Improve     aws cloudfront  amazon cloudfront


 Q505. What is origin and distribution wrt to AWS CloudFront ?Amazon Web Services (AWS)
Ans. Origin is the origin of File or services which CloudFront distributes like S3 in US East-1

Distribution is the combination of Edge locations that helps in the distribution of content / service.

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

   Like         Discuss         Correct / Improve     aws cloudfront  amazon cloudfront


 Q506. What is CDN ? Which AWS service is used for it ?Amazon Web Services (AWS)
Ans. CDN is Content Delivery Network
AWS CloudFront provides CDN service

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

   Like         Discuss         Correct / Improve     aws cloudfront  amazon cloudfront


 Q507. Does S3 prices vary by region ?Amazon Web Services (AWS)
Ans. Yes

 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


 Q508. Which AWS service can help S3 with distribution data ?Amazon Web Services (AWS)
Ans. AWS CloudFront

 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 cloudfront  amazon cloudfront


 Q509. What are the different types of encryption provided by AWS S3 ?Amazon Web Services (AWS)
Ans. In Transit ( SSL / TSL )
At Rest Server Encryption ( SSE-S3, SSE-KMS, SSE-C )

 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


 Q510. Can we log all S3 accesses ?Amazon Web Services (AWS)
Ans. Yes

 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


previous 30   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: