Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Associate Choosing EBS instancy type for launching DB in EC2

Tagged: , ,

  • Choosing EBS instancy type for launching DB in EC2

  • Rumman

    Member
    November 24, 2020 at 7:26 am

    I bought AWS Solution Architect Assoc practice exam, and I have some doubt with some questions. For example, this question:

    You are planning to migrate a MySQL database from your on-premises data center to your AWS Cloud. This database will be used by a legacy batch application that has steady-state workloads in the morning but has its peak load at night for the end-of-day processing. You need to choose an EBS volume which can handle a maximum of 450 GB of data and can also be used as the system boot volume for your EC2 instance.

    Which of the following is the most cost-effective storage type to use in this scenario?

    Suggest answer as gp2

    But on the other hand

    You are building a new data analytics application in AWS which will be deployed in an Auto Scaling group of On-Demand EC2 instances and a MongoDB database. It is expected that the database will have high-throughput workloads performing small, random I/O operations. As the Solutions Architect, you are required to properly set up and launch the required resources in AWS.

    Which of the following is the most suitable EBS type to use for your database?

    Here is the answer is io1.

    I felt the logic given is contrary in both questions. Can anyone explain?

  • Gerome-TutorialsDojo

    Member
    November 24, 2020 at 8:24 am

    Hello muhammad-r,

    Thanks for the feedback.

    For the first question,

    You are planning to migrate a MySQL database from your on-premises data center to your AWS Cloud. This database will be used by a legacy batch application that has steady-state workloads in the morning but has its peak load at night for the end-of-day processing. You need to choose an EBS volume which can handle a maximum of 450 GB of data and can also be used as the system boot volume for your EC2 instance.

    Which of the following is the MOST COST-EFFECTIVE STORAGE type to use in this scenario?

    — Yes, gp2 is the correct answer. Take note that the requirement in this scenario is to use the MOST COST-EFFECTIVE STORAGE type. If that is not the case, you can use io1/io2 volumes. Also, in the given scenario it stated the storage will be used as the system boot volume of an EC2 instance. If you would look at the table below, gp2 can be used for system boot volumes.

    Pricing for Amazon EBS Volumes:

    General Purpose SSD (gp2) Volumes = $0.10 per GB-month of provisioned storage

    Provisioned IOPS SSD (io1) Volumes = $0.125 per GB-month of provisioned storage AND $0.065 per provisioned IOPS-month

    https://aws.amazon.com/ebs/pricing/

     

    For the second question,

    You are building a new data analytics application in AWS which will be deployed in an Auto Scaling group of On-Demand EC2 instances and a MongoDB database. It is expected that the database will have high-throughput workloads performing small, random I/O operations. As the Solutions Architect, you are required to properly set up and launch the required resources in AWS.

    Which of the following is the most suitable EBS type to use for your database?

    — In this scenario, there is a statement “It is expected that the database will have high-throughput workloads performing small, random I/O operations.” If you would compare the performance of gp2 and io1, the latter has a higher IOPS and throughput than gp2 volumes.

     

    In the exam, if you have to select between these two, you should always pick io1/io2 if the requirement is not cost-effective.

    io1/io2 = high IOPS and throughput but the price is higher than gp2.

    gp2 = balance performance and much cheaper than io1/io2.

    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html

     

    Let us know if you need further assistance. The Tutorials Dojo team is dedicated in helping you pass your AWS exam on your first try!

    Regards,

    Gerome @ TutorialsDojo

  • Rumman

    Member
    November 24, 2020 at 11:43 pm

    Thanks that answer my question

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now