AWS CERTIFIED DEVELOPER ASSOCIATE QUIZ 10 5 Created on January 08, 2021 By Sirjana GhimireAcharya AWS CERTIFIED DEVELOPER ASSOCIATE QUIZ 10 1 / 20 You’ve created a temporary application that accepts image uploads, stores them in S3, and records information about the image in RDS. After building this architecture and accepting images for the duration required, it’s time to delete the CloudFormation template. However, your manager has informed you that for archival reasons the RDS data needs to be stored and the S3 bucket with the images needs to remain. Your manager has also instructed you to ensure that the application can be restored by a CloudFormation template and run next year during the same period. Knowing that when a CloudFormation template is deleted, it will remove the resources it created, what is the best method for achieving the desired goals? For both the RDS and S3 resource types on the CloudFormation template, set the DeletionPolicy to Retain Set the DeletionPolicy on the S3 resource declaration in the CloudFormation template to retain, set the RDS resource declaration DeletionPolicy to snapshot. Set the DeletionPolicy on the S3 resource to snapshot and the DeletionPolicy on the RDS resource to snapshot. Enable S3 bucket replication on the source bucket to a destination bucket to maintain a copy of all the S3 objects, set the deletion policy for the RDS instance to snapshot. 2 / 20 What are the resources in AWS that can be scaled using AWS autoscaling Amazon EC2 Auto Scaling groups Amazon Elastic Container Service (ECS) Amazon Aurora S3 3 / 20 Which of the below statements are correct about AWS CloudFormation? AWS CloudFormation automates and simplifies the task of repeatedly and predictably creating groups of related resources that power your applications It is a template, a JSON or YAML-format, text-based file that describes all the AWS resources you need to deploy to run your application AWS CloudFormation is a service that gives developers and businesses an easy way to create a collection of related AWS resources and provision them in an orderly and predictable fashion. All of the above statements are correct 4 / 20 Which OS does the current version of AWS Elastic Beanstalk use? Amazon Linux AMI only Windows Server 2008 R2 AMI only Amazon Linux AMI or the Windows Server 2008 R2 AMI Amazon Linux AMI, Windows Server 2003 R2 AMI or the Windows Server 2008 R2 AMI 5 / 20 When you use the AWS Elastic Beanstalk console to deploy a new application . Which of the below is correct? you’ll need to upload each file separately you’ll need to upload a source bundle you’ll need to create each file you’ll need to create each file and path 6 / 20 Knowledge Hut organization is hosting an application as part of the free usage tier. The Knowledge Hut organization wants to create IAM users for each of its 150 employees and they may access AWS as part of free usage tier. Which of the below is correct? Create IAM users for each employee as it does not cost The IAM is not available as a part of the free usage tier Do not create more than 100 users as it will cost the organization. Create IAM roles and give access based on role since it will not cost the user 7 / 20 Does AWS CloudFormation support Amazon EC2 tagging? No, CloudFormation doesn’t support any tagging No, it doesn’t support Amazon EC2 tagging. Yes, AWS CloudFormation supports Amazon EC2 tagging It depends if the Amazon EC2 tagging has been defined in the template. 8 / 20 You are working for an ecommerce company and they have asked you to create an online store on AWS that uses SQS to process your customer orders. Your backend system needs those messages in the same sequence the customer orders have been put in. How do you think it can be achieved? Messages will arrive in the same order by default You can use sequencing information on each message You can do this with SQS but you also need to use SWF It is not possible to sequence with SQS 9 / 20 Which of the following solutions is not supported by DynamoDB: Local secondary index Hash Primary Key Hash secondary index Global secondary index 10 / 20 You have acquired a new contract from a client to move all of his existing infrastructure onto AWS. You notice that he is running some of his applications using multicast, and he needs to keep it running as such when it is migrated to AWS. You discover that multicast is not available on AWS, as you cannot manage multiple subnets on a single interface on AWS and a subnet can only belong to one availability zone. Which of the following would enable you to deploy legacy applications on AWS that require multicast? Create all the subnets on a different VPC and use VPC peering between them. Provide Elastic Network Interfaces between the subnets. All of the answers listed will help in deploying applications that require multicast on AWS. Create a virtual overlay network that runs on the OS level of the instance. 11 / 20 You have been assigned to deploy application in Elastic Beanstalk .Which of the following platforms are supported in ElasticBeanstalk? Node.js Single Container Docker Go All of the above 12 / 20 KnowledgeHut is hosting an Nginx web application. They want to use EMR to create EMR jobs that shift through all of the web server logs and error logs to pull statistics on click stream and errors based off of client IP address. Given the requirements what would be the best method for collecting the log data and analyzing it automatically? Configure ELB access logs then create a Data Pipeline job which imports the logs from an S3 bucket into EMR for analyzing and output the EMR data into a new S3 bucket. If the application is using TCP, configure proxy protocol to pass the client IP address in a new TCP header. If the application is using, HTTP modify the application code to pull the client IP into the x-forward-for header so the web servers can parse it. If the application is using HTTP, configure proxy protocol to pass the client IP address in a new HTTP header. If the application is using TCP, modify the application code to pull the client IP into the x-forward-for header so the web servers can parse it. Configure ELB error logs then create a Data Pipeline job which imports the logs from an S3 bucket into EMR for analyzing and outputs the EMR data into a new S3 bucket. 13 / 20 A user is using an EBS backed instance. Which of the below mentioned statements is true? The user will not be charged at all for the volume if the instance is stopped The user will be charged only for the instance running cost The user will be charged for volume and instance only when the instance is running The user will be charged for the volume even if the instance is stopped 14 / 20 With regard to DynamoDB, increases in throughput level of a table will typically____________. Take 24 hours. Take anywhere from a few minutes to a few hours. Be immediate. Take around a few seconds 15 / 20 Which one of the following statements cannot be treated as an advantage of DyanamoDB being built on Solid State Drive: low-latency response times serve high-scale request workloads high I/O performance of WebApp on EC2 instance None of the above 16 / 20 A user has configured a bucket S3 to host a static website. What difference will there be when static website hosting is enabled? It will create a new version of the bucket It will provide the region specific website endpoint It will not make any difference, but will help the user to configure the error page It will help the user identify this bucket as the website root to map with the domain 17 / 20 Your project is using PostgreSQL DB and your lead architect wants to achieve High Availability with PostgreSQL DB. Which of the below mentioned functionalities do you think will help him achieve High Availability? Read Replica Multi region Multi AZ PostgreSQL does not support HA 18 / 20 You have an ecommerce application deployed in an instance and the instance takes 40 seconds to process instructions received in an SQS message. Assuming the SQS queue is configured with the default Visibility Timeout, what is the best way to configure your application so that no other instances retrieve a message that has already been processed or is currently being processed? Use the ReceiveMessage API call to retrieve the message, the ChangeMessageVisibility API call to increase the visibility timeout, and the DeleteMessage API call to delete the message. Use the ReceiveMessage API call to retrieve the message, the ChangeMessageVisibility API call to decrease the visibility timeout, and the DeleteMessage API call to delete the message. Use the ReceiveMessage API call to retrieve the message and the DeleteMessage API call to delete the message. None of the above. 19 / 20 How many maximum topics can you have in SNS 1000 15,000 5000 3000 20 / 20 You’ve created a temporary application that accepts image uploads, stores them in S3, and records information about the image in RDS. After building this architecture and accepting images for the duration required, it’s time to delete the CloudFormation template. However, your manager has informed you that for archival reasons the RDS data needs to be stored and the S3 bucket with the images needs to remain. Your manager has also instructed you to ensure that the application can be restored by a CloudFormation template and run next year during the same period. Knowing that when a CloudFormation template is deleted, it will remove the resources it created, what is the best method for achieving the desired goals? Set the DeletionPolicy on the S3 resource declaration in the CloudFormation template to retain, set the RDS resource declaration DeletionPolicy to snapshot. For both the RDS and S3 resource types on the CloudFormation template, set the DeletionPolicy to Retain Set the DeletionPolicy on the S3 resource to snapshot and the DeletionPolicy on the RDS resource to snapshot. Enable S3 bucket replication on the source bucket to a destination bucket to maintain a copy of all the S3 objects, set the deletion policy for the RDS instance to snapshot. Your score is The average score is 28% LinkedIn Facebook Twitter 0% Restart quiz