AWS CERTIFIED DEVELOPER ASSOCIATE QUIZ 3 12 Created on January 06, 2021 By Sirjana GhimireAcharya AWS CERTIFIED DEVELOPER ASSOCIATE QUIZ 3 1 / 20 1. Regarding Amazon SWF, which one of the following statements is incorrect? Amazon SWF provides a programming model and infrastructure for coordinating distributed components. Amazon SWF makes it easier to develop asynchronous and distributed applications. By relying on Amazon SWF, you are freed to focus on building the aspects of your application that differentiate it. You retain full control over the AWS resources powering your application and can access the underlying resources at any time. 2 / 20 2. Can you configure an RDS Read Replica using CloudFormation templates? Yes, provided that you have root access. No, you can add the ReadReplica only when the resource is made available by CloudFormation Yes, when you create a new CloudFormation template Yes, but not for all Regions. 3 / 20 3. Is it possible to create an S3 bucket accessible only by a certain IAM user, using policies in a CloudFormation template? No, in the same template you can only create the S3 bucket and the realtive policy. No, you can only create the S3 bucket but not the IAM user. S3 is not supported by CloudFormation. Yes, all these resources can be created using a CloudFormation template 4 / 20 4. In regard to CloudFormation, CloudFormer is itself _____________. An AWS CloudFormation stack An AWS CloudFormation template A JSON file An Amazon S3 bucket 5 / 20 5. A user is launching an AWS RDS instance with MySQL. The user wants to enable the Multi-AZ feature. Which of the below-mentioned parameters will not be allowed to configure by RDS? Region Availability Zone DB subnet Database port 6 / 20 6. In CloudFormation stack options, which of the below option is correct about Tags, that can be used to identify your stack for purposes such as cost allocation. Mandatory String value Arbitrary key-value pairs Arbitrary integer ID Mandatory key-value pairs 7 / 20 7. You need to develop and run some new applications on AWS and you know that Elastic Beanstalk and Cloudformation can both help as a deployment mechanism for a broad range of AWS resources. Which of the following statements best describes the differences between Elastic Beanstalk and Cloudformation? Elastic Beanstalk is faster in deploying applications than Cloudformation. Elastic Beanstalk uses Elastic load balancing and Cloudformation doesn't. Cloudformation is faster in deploying applications than Elastic Beanstalk. Cloud Formation is much more powerful than Elastic Beanstalk, because you can actually design and script custom resources 8 / 20 8. AutoScaling is configured with 3 AZs. Each zone has 5 instances running. If AutoScaling wants to terminate an instance based on the policy action, which instance will it terminate first? Terminate the first launched instance Randomly select the instance for termination Terminate the instance from the AZ which does not have a high AWS load Terminate the instance from the AZ which has instances running near to the billing hour 9 / 20 9. You’re consulting for company that is migrating it’s legacy application to the AWS cloud. In order to apply high availability, you’ve decided to implement Elastic Load Balancer and Auto Scaling services to serve traffic to this legacy application. The legacy application is not a standard HTTP web application but is a custom application with custom codes that is run internally for the employees of the company you are consulting. The ports required to be open are port 80 and port 8080. What listener configuration would you create? Configure the load balancer with the following ports: HTTP:80 and HTTP:8080 and the instance protocol to HTTP:80 and HTTP:8080 Configure the load balancer with the following ports: HTTP:80 and HTTP:8080 and the instance protocol to HTTPs:80 and HTTPs:8080 Configure the load balancer with the following ports: HTTP:80 and HTTP:8080 and the instance protocol to TCP:80 and TCP:8080 Configure the load balancer with the following ports: TCP:80 and TCP:8080 and the instance protocol to TCP:80 and TCP:8080 10 / 20 10. You work for a large organization whose AWS infrastructure has grown significantly over the last year and consequently the IT department has hired four new AWS System Administrators who will each manage a different Availability Zone in your infrastructure. You have 4 AZs. You have been given the task of giving these new staff access to be able to launch and manage instances in their zone only and should not be able to modify any of the other administrators’ zones. Which of the following options is the best solution to accomplish your task? Create an IAM user and allow them permission to launch an instance of a different size only. Create four IAM users and four VPCs and allow each IAM user to have access to separate VPCs. Create a VPC with four subnets and allow access to each subnet for the individual IAM user. Create four AWS accounts and give each user access to a separate account. 11 / 20 11. Which of the following is not reason for CloudFormation rollback? An AMI specified in the template exists in a region other than the region in which the stack is being created. The template specifies an EC2 instance type that is not compatible with the AMI that backs it. CloudFormation cannot be rolled back. A template that contains invalid JSON syntax 12 / 20 12. Knowledge Hut organization has an environment that is already created. The environment consists of a public subnet using Amazon VPC and 3 instances that are running in this subnet. These three instances can successfully communicate with other hosts on the Internet. NowyYou launch a fourth instance in the same subnet, using the same Amazon Machine Image and security group configuration you used for the others, but find that this instance cannot be accessed from the Internet. What should you do to enable internet access? Modify the routing table for the public subnet Assign an Elastic IP address to the fourth instance. Configure a publically routable IP Address In the host OS of the fourth instance. Deploy a NAT instance into the public subnet. 13 / 20 13. What is the availability of S3 - IA 99% 99.9% 100% 95% 14 / 20 14. One of your colleague developers has never had AWS Access before, and he needs access to an Elastic Load Balancer in your custom VPC. This is the first and only time he will need access. Which of the following choices is the most secure way to grant this access? Let them log in with Admin credentials and change the Admin password when he is finished. Create a new IAM user with the required credentials and delete that user after the developer has finished his work. Add that developer to a Group with the requisite access. None of the above 15 / 20 15. Which of the following bucket names are invalid (Choose 2.) .knowledge.hut Knowledge.hut knowledge.hut knowledge-hut 16 / 20 16. What is the maximum size of an S3 object? 1TB 5GB 5TB 1GB 17 / 20 17. After having created a VPC with CIDR block 10.0.0.0/24 and launching it as a working network you decide a few weeks later that it is too small and you wish to make it larger. Which of the below options would accomplish this successfully? Re-allocate the VPC with CIDR 10.0.0.0/28 You cannot change a VPC's size. Currently, to change the size of a VPC you must terminate your existing VPC and create a new one. Re-allocate the VPC with CIDR 10.1.1.1/16 Re-allocate the VPC with CIDR 10.0.0.0/16 18 / 20 18. What is the data model of DynamoDB? "Database", a collection of Tables; "Tables", with Keys and one or more Attribute; and "Attribute", with Name and Value. Since DynamoDB is schema-less, there is no data model. "Items", with Keys and one or more Attribute; and "Attribute", with Name and Value. "Table", a collection of Items; "Items", with Keys and one or more Attribute; and "Attribute", with Name and Value. 19 / 20 19. Which one do you think can be used to bootstrap both the Chef Server and Chef Client software on your EC2 instances. Amazon Glacier AWS Elastic Beanstalk AWS CloudFormation None of the above 20 / 20 20. KnowledgeHut has developed a sensor intended to be placed inside of people’s shoes, monitoring the number of steps taken every day. KnowledgeHut is expecting thousands of sensors reporting in every minute and hopes to scale to millions by the end of the year. A requirement for the project is it needs to be able to accept the data, run it through ETL to store in warehouse and archive it on Amazon Glacier, with room for a real-time dashboard for the sensor data to be added at a later date. What is the best method for architecting this application given the requirements? Write the sensor data directly to a scaleable DynamoDB; create a data pipeline that starts an EMR cluster using data from DynamoDB and sends the data to S3 and Redshift. Use Amazon Cognito to accept the data when the user pairs the sensor to the phone, and then have Cognito send the data to Dynamodb. Use Data Pipeline to create a job that takes the DynamoDB table and sends it to an EMR cluster for ETL, then outputs to Redshift and S3 while, using S3 lifecycle policies to archive on Glacier. Write the sensor data to Amazon S3 with a lifecycle policy for Glacier, create an EMR cluster that uses the bucket data and runs it through ETL. It then outputs that data into Redshift data warehouse. Write the sensor data directly to Amazon Kinesis and output the data into Amazon S3 creating a lifecycle policy for Glacier archiving. Also, have a parallel processing application that runs the data through EMR and sends to a Redshift data warehouse. Your score is The average score is 22% LinkedIn Facebook Twitter 0% Restart quiz