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

Home Forums AWS AWS Certified Developer Associate Immediate change?

  • Immediate change?

  • Klimok

    Member
    July 23, 2021 at 7:10 pm

    An online banking application has recently been migrated from your on-premises data center to Elastic Beanstalk. You are required to deploy the application’s new version to all instances simultaneously in order for their clients to view the changes immediately.

    Which of the following options take the LEAST amount of time to complete the deployment?

    —-

    hi, I am surprised ‘All at once’ is the correct answer here. It’ll be simultaneous, but there will be downtime, so it wont be immediate. Immutable is simultaneous and with immediate change, but it takes more time to prep. IMHO the question needs rewording as there are mutually excluding directives mentioned – immediate and fast deployment.

  • Carlo-TutorialsDojo

    Administrator
    July 24, 2021 at 5:16 am

    Hello Klimok,

    Thanks for sharing your thoughts.

    Basically, this question is asking for the fastest deployment type which is All at once. I agree that you won’t be able to ‘immediately’ see the results as it would take time to deploy the changes. On another note, All at once is not recommended for deploying changes in a production env so we’ll also have to revise the scenario.

    Let me know your thoughts.

    Regards,

    Carlo @ Tutorials Dojo

  • Klimok

    Member
    July 24, 2021 at 8:59 am

    Hi Carlo,

    my impression that 95% of real exam and your questions are unambiguous, i.e. you can eliminate wrong items with 100% certainty. In this case there is a grey zone of two plausible answer, so I suggest to revise the scenario to allow logically arrive at the sole right answer. thanks

  • Jon-Bonso

    Administrator
    July 24, 2021 at 11:51 am

    Hi Klimok,

    Thank you for sharing your thoughts on this scenario. Both Carlo and I have passed the actual AWS Certified Developer Associate exam, and other AWS certifications and I have seen a lot of ambiguous questions throughout different AWS exams.

    Keywords are quite important to distinguish the most suitable answer here. However, I disagree that this question is ambiguous at all.

    Let’s take a closer look:

    The keywords are:

    – deploy the applications’ new version to all instances simultaneously

    – LEAST amount of time

    The official AWS documentation says:

    All at once – Deploy the new version to all instances simultaneously. All instances in your environment are out of service for a short time while the deployment occurs.

    Immutable – Deploy the new version to a fresh group of instances by performing an immutable update.

    Reference:

    https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html

    The provided answer and the official AWS documentation are exactly the same for this key phrase: “new version to all instances simultaneously.” – It’s written verbatim and this is also cited in our provided explanation.


    Let’s now look at the second keyword: “LEAST amount of time”

    The official AWS documentation has a table of the Deployment Methods available in Elastic Beanstalk, which contains the Deploy Time for each type. Apparently, the All-at-once option provides the LEAST amount of time among all other options.

    https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.deploy-existing-version.html#deployments-scenarios

    The Immutable option fails to meet those 2 important keywords. If you use this option, Elastic Beanstalk creates a second, temporary Auto Scaling group behind your environment’s load balancer. The process of launching another Auto Scaling group takes time.

    I do understand that there is a certain gray area here about availability. Of course, it is recommended that there won’t be any downtime for any type of deployment. However, in the real world, there are certain cases where it is better to have a short 1-minute downtime in order to quickly resolve an issue — instead of waiting 15 minutes or so to deploy an urgent fix.

    For example, if there was an incorrect business logic that was deployed in production that is corrupting user data. The more time the current version is processing the requests, the higher rate of corrupted data will pile up.

    In my over 10 years in the industry, I’ve worked with different banks and financial institutions where we suspended certain operations for a short period of time. I understand it’s not ideal but there are more things to consider here than mere application availability. You have to consider compliance, regulations, and the integrity of your data. The best course of action at times is to briefly suspend live production traffic in order to quickly resolve the issue.

    Expect to see this kind of nuance in the actual AWS exam. They will deliberately leave out details like this and will put more weight on the keywords present in the scenario.

    Thank you again for your suggestion but this scenario does not warrant any revision.

    Regards,

    Jon Bonso

Viewing 1 - 4 of 4 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now