AWS Devops Engineer Professional Certified Practice Exam Set 4

Which of the following Deployment types are available in the Code Deploy service. Choose 2 answers from the options given below


Options are :

  • In-place deployment (Correct)
  • Rolling deployment
  • Immutable deployment
  • Blue/green deployment (Correct)

Answer : In-place deployment Blue/green deployment

Certification : Get AWS Certified Solutions Architect in 1 Day (2018 Update) Set 12

You have the requirement to get a snapshot of the current configuration of the resources in your AWS Account. Which of the following services can be used for this purpose Please select:


Options are :

  • AWS Config (Correct)
  • AWS LAM
  • AWS Trusted Advisor
  • AWS Code Deploy

Answer : AWS Config

A company has developed a Ruby on Rails content management platform. Currently, OpsWorks with several stacks for dev, staging, and production is being used to deploy and manage the application. Now the company wants to start using Python instead of Ruby. How should the company manage the new deployment? Choose the correct answer from the options below ?


Options are :

  • Create a new stack that contains a new layer with the Python code. To cut over to the new stack the company should consider using Blue/Green deployment . (Correct)
  • Update the existing stack with Python application code and deploy the application using the deploy life-cycle action to implement the application code.
  • Create a new stack that contains the Python application code and manage separate deployments of the application via the secondary stack using the deploy lifecycle action to implement the application code.
  • Create a new stack that contains the Python application code and manages separate deployments of the application via the secondary stack.

Answer : Create a new stack that contains a new layer with the Python code. To cut over to the new stack the company should consider using Blue/Green deployment .

You work for a very large company that has multiple applications which are very different and built on different programming languages. How can you deploy applications as quickly as possible?


Options are :

  • Create a Lambda function deployment package consisting of code and any dependencies
  • Develop each app In a separate Docker container and deploy using Elastic Beanstalk (Correct)
  • Develop each app in a separate Docker containers and deploy using Cloud Formation
  • Develop each app in one Docker container and deploy using Elastic Beanstalk

Answer : Develop each app In a separate Docker container and deploy using Elastic Beanstalk

AWS SOA-C00 Certified Sys Ops Administrator Associate Exam Set 3

You are the IT administrator for your company. You have the responsibility of creating development environments which would confirm to the LAMP development stack. The requirement is that the development team always gets the latest version of the LAMP stack each time a new instance is launched. Which of the following is an efficient and effective way to implement this requirement? Choose 2 answers from the options given below


Options are :

  • Create an EBS Volume with the LAMP stack and attach it to an instance whenever it Is required.
  • Use the User data section and use a custom script which will be used to download the necessary LAMP stack packages. (Correct)
  • Create a cloud formation template and use the cloud-mit directives to download and the install the LAMP stack packages. (Correct)
  • Create an AMI with all the artifacts of the LAMP stack and provide an instance to the development team based on the AMI. )

Answer : Use the User data section and use a custom script which will be used to download the necessary LAMP stack packages. Create a cloud formation template and use the cloud-mit directives to download and the install the LAMP stack packages.

You need your Cl to build AMIs with code pre-installed on the images on every new code push. You need to do this as cheaply as possible. How do you do this?


Options are :

  • Purchase a Light Utilization Reserved Instance to save money on the continuous integration machine. Use these credits whenever your create AMPS Ofl instances.
  • Bid on spot instances just above the asking price as soon as new commits come in. perform all instance configuration and setup, then create an AMP based on the spot instance. (Correct)
  • When the Cl Instance receives commits, attach a new EBS volume to the CI machine. Perform all setup on this EBS volume so you don?t need a new EC2 instance to create the AMP.
  • Have the Cl launch a new on-demand EC2 instance when new commits come In, perform all instance configuration and setup, then create an AMI based on the ondemand instance.

Answer : Bid on spot instances just above the asking price as soon as new commits come in. perform all instance configuration and setup, then create an AMP based on the spot instance.

When creating an Elastic Beanstalk environment using the Wizard , what are the 3 configuration options presented to you ?


Options are :

  • Choosing the type of Environment - Web or Worker environment (Correct)
  • Choosing whether you want a highly available environment or not
  • Choosing the type of Notification SNS or SQS (Correct)
  • Choosing the platform type - Node.js. 115, etc (Correct)

Answer : Choosing the type of Environment - Web or Worker environment Choosing the type of Notification SNS or SQS Choosing the platform type - Node.js. 115, etc

AWS DVA-C01 Certified Developer Associate Practice Exam Set 3

Which of the below services can be used to deploy application code content stored in Amazon S3 buckets, Git Hub repositories, or Bit bucket repositories ?


Options are :

  • Code Deploy (Correct)
  • Code Commit
  • Route53
  • 53 Lifecycles

Answer : Code Deploy

Your company has a set of resources hosted in AWS. They want to be notified when the costs of the AWS resources running in the account reaches a certain threshold. How can this be accomplished in an ideal way?


Options are :

  • Create a billing alarm which can alert you when the costs are going beyond a certain threshold (Correct)
  • Create a consolidated biting report and see if the costs are going beyond the threshold.
  • Download the cost reports and analyze the reports to see if the costs are going beyond the threshold
  • Create a script which monitors all the running resources and calculates the costs accordingly.

Answer : Create a billing alarm which can alert you when the costs are going beyond a certain threshold

You have deployed an application to AWS which makes use of Auto scaling to launch new instances. You now want to change the instance type for the new instances. Which of the following is one of the action items to achieve this deployment?


Options are :

  • Create new EC2 instances with the new instance type and attach it to the Auto scaling Group
  • Use Cloud formation to deploy the new application with the new instance type
  • Use Elastic Beanstalk to deploy the new application with the new instance type
  • Create a new launch configuration with the new instance type (Correct)

Answer : Create a new launch configuration with the new instance type

AWS DVA-C01 Certified Developer Associate Practice Exam Set 3

You currently have an Auto scaling group that has the following settings Mm capacity- 2 Desired capacity - 2 Maximum capacity -4 The current number of instances running in the Auto scaling Group is 2. You have been notified that for a duration of an hour, you need to ensure that no new Instances are launched by the Auto scaling Group Which of the below 2 actions can be carried out to fulfill this requirement


Options are :

  • Change the Maximum capacity to 2 (Correct)
  • Change the Desired capacity to 4
  • Change the Minimum capacity to 2
  • Suspend the Launch process of the Auto scaling Group (Correct)

Answer : Change the Maximum capacity to 2 Suspend the Launch process of the Auto scaling Group

Which of the following credentials types are supported by AWS Code Commit?


Options are :

  • Git Credentials (Correct)
  • Username/password (Correct)
  • SSH keys (Correct)
  • AWS Access keys

Answer : Git Credentials Username/password SSH keys

Which of the following design strategies is ideal when designing loosely coupled systems. Choose 2 answers from the options given below ?


Options are :

  • using sos to establish communication between the web and worker roles (Correct)
  • Using SNS to establish communication between the web and worker roles
  • Having the web and worker roles running on the same set of EC2 Instances
  • Having the web and worker roles running on separate EC2 Instances (Correct)

Answer : using sos to establish communication between the web and worker roles Having the web and worker roles running on separate EC2 Instances

AWS SOA-C00 Certified Sys Ops Administrator Associate Exam Set 10

You are a Dev Ops engineer for a company. You have been requested to create a rolling deployment solution that Is cost-effective with minimal downtime. How should you achieve this? Choose two answers from the options below


Options are :

  • Re-deploy your application using a Cloud Formation template to deploy Elastic Beanstalk
  • Re-deploy with a Cloud Formation template. define update policies on Auto Scaling groups in your Cloud Formation template (Correct)
  • After each stack Is deployed, tear down the old stack
  • Use Update Policy attribute with Auto Scaling Rolling update policy on Cloud Formation to deploy new code (Correct)

Answer : Re-deploy with a Cloud Formation template. define update policies on Auto Scaling groups in your Cloud Formation template Use Update Policy attribute with Auto Scaling Rolling update policy on Cloud Formation to deploy new code

You are in charge of creating a Cloud formation template that will be used to spin our resources on demand for your Devops team. The requirement is that this cloud formation template should be able to spin up resources In different regions. Which of the following aspects of Cloud formation templates can help you design the template to spin up resources based on the region?


Options are :

  • Use mappings section in the Cloud formation template . so that based on the relevant region, the relevant resource can be spinned up. (Correct)
  • Use the parameters section in the Cloud formation template. so that based on the relevant region, the relevant resource can be spinned up.
  • Use the outputs section in the Cloud formation templates so that based on the relevant region , the relevar? resource can be spinned up.
  • Use the metadata section in the Cloud formation template. so that based on the relevant region, the relevant resource can be spinned up.

Answer : Use mappings section in the Cloud formation template . so that based on the relevant region, the relevant resource can be spinned up.

You have launched a cloud formation template, but are receiving a failure notification after the template was launched. What is the default behavior of Cloud formation in such a case Please select:


Options are :

  • It will prompt the user on whether to keep or terminate the already created resources
  • It will keep all the resources that were created up to the failure point.
  • It will continue with the creation of the next resource in the stack
  • It will rollback all the resources that were created up to the failure point. .. (Correct)

Answer : It will rollback all the resources that were created up to the failure point. ..

Certification : Get AWS Certified Solutions Architect in 1 Day (2018 Update) Set 13

An enterprise wants to use a third-party SaaS application running on AWS.. The SaaS application needs to have access to issue several API commands to discover Amazon EC2 resources running within the enterprise?s account. The enterprise has internal security policies that require any outside access to their environment must conform to the principles of least privilege and there must be controls in place to ensure that the credentials used by the SaaS vendor cannot be used by any other third party. Which of the following would meet all of these conditions?


Options are :

  • Create an lAM role for cross-account access allows the SaaS providers account to assume the role and assign It a policy that allows only the actions required by the SaaS application. (Correct)
  • Create an lAM user within the enterprise account assign a user policy to the lAM user that allows only the actions required by the SaaS application. Create a new access and secret key for the user and provide these credentials to the SaaS provider.
  • From the AWS Management Console, navigate to the Security Credentials page and retrieve the access an secret key for your account.
  • Create an lAM role for EC2 instances, assign it a policy that allows only the actions required tor the Saas application to work, provide the role ARN to the SaaS provider to use when launching their application instances.

Answer : Create an lAM role for cross-account access allows the SaaS providers account to assume the role and assign It a policy that allows only the actions required by the SaaS application.

You are working as an AWS Devops admins for your company. You are in-charge of building the Infrastructure for the company?s development teams using Cloud formation. The template will include building the VPC and networking components, installing a LAMP stack and securing the created resources. As per the AWS best practices what is the best way to design this template ?


Options are :

  • Create multiple cloud formation templates based on the number of VPCs in the environment.
  • Create multiple cloud formation templates for each set of logical resources, one for networking, tne otner for LAMP stack creation. (Correct)
  • Create multiple cloud formation templates based on the number of development groups In the environment.
  • Create a single cloud formation template to create all the resources since it would be easier from the maintenance perspective.

Answer : Create multiple cloud formation templates for each set of logical resources, one for networking, tne otner for LAMP stack creation.

Which of the following is the default deployment mechanism used by Elastic Beanstalk when the application is created via Console or EB CLI?


Options are :

  • All at Once
  • immutable
  • Roiling Deployments (Correct)
  • Rolling with additional batch

Answer : Roiling Deployments

AWS CLF-C01 Certified Cloud Certification Practical Exam Set 6

When building a multi container Docker platform using Elastic Beanstalk , which of the following is required Please select:


Options are :

  • Red Hat Opensift to manage the docker containers.
  • Prebuilt Images stored in a public or private online image repository. (Correct)
  • Kurbernetes to manage the docker containers.
  • Docker File to create custom images during deployment

Answer : Prebuilt Images stored in a public or private online image repository.

You currently have EC2 Instances hosting an application. These instances are part of an Autoscaling Group. You now want to change the instance type of the EC2 Instances. How can you manage the deployment with the least amount of downtime


Options are :

  • Terminate the existing Auto Scaling group. Create a new launch configuration with the new Instance type. Attach that to the new Auto scaling Group.
  • Manually terminate the Instances, launch new Instances with the new Instance type and attach them to the
  • Use the Rolling Update feature which is available for EC2 Instances.
  • Use the Auto Scaling Rolling Update policy on Cloud Formation Template Auto Scaling group (Correct)

Answer : Use the Auto Scaling Rolling Update policy on Cloud Formation Template Auto Scaling group

When your application is loaded onto an Ops works stack, which of the following event is triggered by Show Ops works?


Options are :

  • Setup
  • Shutdown
  • Configure
  • Deploy Fill (Correct)

Answer : Deploy Fill

Certification : Get AWS Certified Solutions Architect in 1 Day (2018 Update) Set 18

You have carried out a deployment using Elastic Beanstalk, but the application is unavailable. What could be the reason for this ?


Options are :

  • There will always be a few seconds of downtime before the application is available (Correct)
  • You need to configure ELB along with Elastic Beanstalk
  • The cool down period is not properly configured for Elastic Beanstalk
  • You need to configure Route53 along with Elastic Beanstalk

Answer : There will always be a few seconds of downtime before the application is available

Your company has a set of EC2 resources hosted on AWS. Your new IT procedures state that AWS EC2 Instances must be of a particular Instance type. Which of the following can be used to get the list of EC2 Instances which currently don?t match the instance type specified in the new IT procedures


Options are :

  • Use AWS Cloud watch alarms to check which EC2 Instances don?t match the intended instance type.
  • Use Trusted Advisor to check which EC2 Instances don?t match the intended instance type.
  • Use VPC Flow Logs to check which EC2 Instances don?t match the intended instance type.
  • Use AWS Config to create a rule to check the EC2 Instance type (Correct)

Answer : Use AWS Config to create a rule to check the EC2 Instance type

You are currently using Elastic Beanstalk to host your production environment. You need to rollout updates to your application hosted on this environment. This is a critical application which is why there is a requirement that the rollback, if required . should be carried out with the least amount of downtime. Which of the following deployment strategies would ideally help achieve this purpose Please select:


Options are :

  • Use Rolling updates in Elastic Beanstalk so that if the deployment fails , the rolling updates feature would roll back to the last deployment.
  • Create another parallel environment in elastic beanstalk. Create a new Route53 Domain name for the new environment and release that un to the users.
  • Create a Cloud formation template with the same resources as those in the Elastic beanstalk environment, if the deployment fails, deploy the Cloud formation template.
  • Create another parallel environment in elastic beanstalk. Use the Swap URL feature. (Correct)

Answer : Create another parallel environment in elastic beanstalk. Use the Swap URL feature.

AWS SAP-C00 Certified Solution Architect Professional Exam Set 2

Your company has a set of resources hosted in AWS. Your IT Supervisor is concerned with the costs being incurred by the resources running in AWS and wants to optimize on the costs as much as possible. Which of the following ways could help achieve this efficiently? Choose 2 answers from the options given below?


Options are :

  • Create a script which monitors all the running resources and calculates the costs accordingly. The analyze those resources accordingly and see which can be optimized.
  • Use the Trusted Advisor to see underutilized resources (Correct)
  • Create Cloud watch alarms to monitor underutilized resources and either shutdown or terminate resources which are not required. (Correct)
  • Create Cloud watch logs to monitor underutilized resources and either shutdown or terminate resources which are not required.

Answer : Use the Trusted Advisor to see underutilized resources Create Cloud watch alarms to monitor underutilized resources and either shutdown or terminate resources which are not required.

You are deciding on a deployment mechanism for your application. Which of the following deployment mechanisms provides the fastest rollback after failure?


Options are :

  • Rolling. Mutable
  • Blue/Green (Correct)
  • Rolling- Immutable
  • Canary

Answer : Blue/Green

An audit is going to be conducted for your company?s AWS account. Which of the following steps will ensure that the auditor has the right access to the logs of your AWS account ?


Options are :

  • Enable 53 and ELB logs. Send the logs as a zip file to the IT Auditor
  • Ensure that Cloud trail is enabled. Create a user for the IT Auditor and ensure that full control is given to th user for Cloud trail.
  • Ensure that Cloud trail is enabled. Create a role for read only access to Cloud trail. Create a user for the IT Auditor and attach the role to the user. (Correct)
  • Enable Cloud watch logs. Create a user for the IT Auditor and ensure that full control Is given to the user for the Cloud watch logs.

Answer : Ensure that Cloud trail is enabled. Create a role for read only access to Cloud trail. Create a user for the IT Auditor and attach the role to the user.

Certification : AWS Certified Solutions Architect Associate Practice Exams Set 3

Which of the following environment types are available in the Elastic Beanstalk environment. Choose 2 answers from the options given below?


Options are :

  • Load Balancing, Auto scaling (Correct)
  • Multi-Instance
  • Single Instance (Correct)
  • SQS. Auto scaling

Answer : Load Balancing, Auto scaling Single Instance

Your company is planning to setup a word press application. The word press application will connect to a My SQL database. Part of the requirement is to ensure that the database environment is fault tolerant and highly available. Which of the following 2 options individually can help fulfill this requirement?


Options are :

  • Create multiple EC2 Instances In separate Ars. Host MySQL and enable replication via scripts between the instances. (Correct)
  • Create a My SQL RDS environment and create a Read Replica
  • Create multiple [C2 instances in the same AZ. Host MYSQL and enable replication via scripts between the instances.
  • Create a MYSQL RDS environment with Multi-AZ feature enabled (Correct)

Answer : Create multiple EC2 Instances In separate Ars. Host MySQL and enable replication via scripts between the instances. Create a MYSQL RDS environment with Multi-AZ feature enabled

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions