Question : You are working in a capital market company which has various products like mutual funds, corporate loans, insurance, ETFs (Exchange traded funds ) etc. and they wanted to run separate website under sub-domain like
And their main website will be acmeshell.com, each subdomain can have either Joomla or Wordpress based websites and need to be hosted on independent virtual servers. Which of the following service you will be using
1. Amazon EC2 service, with each instance having separate subdomain website. Hence, total 5X2=10 EC2 instance. Two EC2 instance for each.
2. Amazon Container Service, you will be creating a Docker image for each subdomain and launch the website using that
3. Elastic Beanstalk, so that you will not to manage, administer and monitor instances on which websites will be hosted
4. You will be using AWS LightSail and use separate virtual private servers for each subdomain and main website
Correct Answer : 4 Explanation: Again you can use any service which is given in the option to solve the given problem. But you need to select the most relevant and cost-effective service.
Amazon LightSail, is a service through which you can provision virtual private servers (VPS) that lives in the AWS cloud. You can host Wordpress or Joomla based websites on this VPS. LightSail offers range of operating system and application templates that are automatically installed when you create a new Lighsail instance. Various web application templates are already included in it like Wordpress, Joomla, Drupal, Magento, Redmine, LAMP, Nginx (LEMP), Node.js and much more.
Question : You are working with an equity brokerage firm who provides the terminal for equity trading, now at the end of day when market closes your analytics team want to do some analytics. Entire data is stored in AWS S3 in file format, so no direct database needs to be accessed. You want to use last 5 days data to do analytics and volume is quite high which of the following service you will be using for this?
A. Launch EC2 Spot instances fleet and run your own analytics code with the data stored in S3 B. You will be using EMR service C. You will be using AWS Batch D. You will be using AWS Lambda 1. A,B 2. B,C 3. C,D 4. A,D 5. B,D
Correct Answer : 2 Explanation: In the given question you wanted to run analytics on big volume of data. Hence, this is a Big Data problem and Lambda function will not be helpful because they have timeout limit 300 seconds as well as 500MB storage is available. Hence, eliminate option 4.
You can certainly use option 1, but this is not an optimal solution for given requirement.
For BigData problems you will be using BigData tool like EMR service. Hence option 2 is perfect fit. Other than that you can also use AWS Batch, if you want to run any batch processing than you should use AWS batch. AWS batch provisions the optimal quantity and type of compute resources e.g. CPU or memory optimized instances based on need. If you are using AWS batch than you don't have to install and manage batch computing software , servers , clusters etc. You just focus on solving your own problem.
However, underline AWS Batch use the EC2 instance and Spot instances.
Question : You have developed a web application and a Docker image has been created using that. You want to deploy scalable web application using this Docker container. And don't want to take the pain of managing clusters like which server types to be chosen, when your cluster should be scaled etc. which of the following service you will be using from AWS?
1. AWS Elastic Container Service
2. Amazon Elastic Container Service for Docker
3. AWS Fargate
4. AWS Batch
5. AWS LightSail
Correct Answer : 3 Explanation: AWS Fargate is a service for ECS (Elastic Container Service) or EKS (Elastic container service for Kubernetes), if you use AWS Fargate service than you don't have to take pain for provisioning, configuring, and scaling of virtual servers to run your containers. Even you don't have to select the type of EC2 servers, what should be the scaling requirement etc. Hence, you can focus on designing and building your applications rather than managing the infrastructure to runs them.
1. As soon as instance is terminated data will be copied to S3. 2. As soon as instance is terminated data will be copied to the EBS. 3. As soon as instance is terminated data will be deleted. 4. Nothing happend to the data, it will remain as it is until you delete it.
4. Using the private keys , you have to first decrypt the default administrator password on EC2 console. This password you can use for remotely connecting to AWS Windows instance.