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.
Q71. How would you count the number of words in a string consisting of uneven number of spaces between words( not dictionary words)? With and without library functions.
Ans. array is traversed from first element to last element. Here current element is compared with next element. If current element is greater than next element it is swapped.
Help us improve. Please let us know the company, where you were asked this question :
Q81. Given a string with multiple opening and closing brackets, determine if the string is valid or not ( to see if the string has all closing brackets for each opening bracket ) ?
Ans. These are the platforms or set of services provided by Amazon for cloud services , database storage , content delivery and other business applications and solutions.
Help us improve. Please let us know the company, where you were asked this question :
Ans. Amazon Elastic Compute Cloud or EC2 provides scalable computing capacity in the AWS cloud. It can be used to create Virtual Environments , storage and configure. EC2 enables to upgrade or downgrade infrastructure according to the rules defined ( with fluctuation in latency, traffic etc )
Help us improve. Please let us know the company, where you were asked this question :
Ans. Amazon CloudWatch is a monitoring service for AWS cloud resources like Beanstalk and DB instances. We can use CloudWatch to monitor the state of resources, collect metrices, set alarms and appropriate response to the alarm state.
Help us improve. Please let us know the company, where you were asked this question :
Ans. A shard is a uniquely identified group of data records in a stream or we can say that Shard is a partition in Kinesis stream. A shard supports a fixed bandwidth i.e fixed number of messages per second. The total capacity of the stream is the sum of the capacities of its shards. If the data rate changes, we can allocate / deallocate more shards to accommodate that.
Help us improve. Please let us know the company, where you were asked this question :
Ans. It's a configuration for auto scaling environment that specify the attributes / conditions for scaling instances up and down. For example - We may like environment to scale up when the number of requests / sec increases a particular threshold and scale down when it decreases below a threshold.
Help us improve. Please let us know the company, where you were asked this question :
Ans. We are using EC2 and Lambda for computing, RDS for Database , S3 for Storage , SQS and Kinesis for streaming and queue and CloudWatch for monitoring.
Help us improve. Please let us know the company, where you were asked this question :
Ans. On demand instance is normal instance means if you create first time so you can use on demand instance, in this instance you can create simple server like 2 gb RAM, 1 core CPU, GP2 30 GB SSD....etc.
and Reserved instance is you can create server and its reserved for 2-3 years and when you give back to this server on AWS they give you discount but on demand and reserved instance price are same.
Help us improve. Please let us know the company, where you were asked this question :