MoreExam
1. Question Content...
EXPLANATION
Answer: X - EXPLANATION Content.
Question1: When developing an AWS Lambda function that processes Amazon Kinesis Data Streams, Administrators within the company must receive a notice that includes the processed data.How should the Developer write the function to send processed data to the Administrators?
Question2: A development team consists of 10 team members. Similar to a home directory for each team member the manager wants to grant access to user-specific folders in an Amazon S3 bucket. For the team member with the username "TeamMemberX", the snippet of the IAM policy looks like this:Instead of creating distinct policies for each team member, what approach can be used to make this policy snippet generic for all team members?
Question3: A company developed an AWS CloudFormation template used to create all new Amazon DynamoDB tables in its AWS account. The template configures provisioned throughput capacity using hard-coded values. The company wants to change the template so that the tables it creates in the future have independently configurable read and write capacity units assigned.Which solution will enable this change?
Question4: A company is managing a NoSQL database on-premises to host a critical component of an application, which is starting to have scaling issues. The company wants to migrate the application to Amazon DynamoDB with the following considerations:* Optimize frequent queries* Reduce read latencies* Plan for frequent queries on certain key attributes of the tableWhich solution would help achieve these objectives?
Question5: You have been doing a lot of testing of your VPC Network by deliberately failing EC2 instances to testwhether instances are failing over properly. Your customer who will be paying the AWS bill for all this asksyou if he being charged for all these instances. You try to explain to him how the billing works on EC2instances to the best of your knowledge. What would be an appropriate response to give to the customerin regards to this?
Question6: How can a user configure three termination policies for the AutoScaling group?
Question7: A Developer is creating a Lambda function and will be using external libraries that are not included in the standard Lambda libraries.What action would minimize the Lambda compute time consumed?
Question8: A developer must allow guest users without logins to access an Amazon Cognito-enabled site to view files stored within an Amazon S3 bucketHow should the developer meet these requirements'?
Question9: Given the source code for an AWS Lambda function in the local store.py containing a handler function called get_store and the following AWS CloudFormation template:What should be done to prepare the template so that it can be deployed using the AWS CLI command aws ?cloudformation deploy
Question10: An application is running on an EC2 instance. The Developer wants to store an application metric in Amazon CloudWatch.What is the best practice for implementing this requirement?
Question11: An organization is hosting an application as part of the free usage tier. The organization wants to create IAM users for each of its 150 employees and they may access AWS as part of free usage tier. What will you advise the organization?
Question12: A development team is designing a mobile app that requires multi-factor authenticationWhich steps should be taken to achieve this? (Select TWO)
Question13: A user wants to access RDS from an EC2 instance using IP addresses. Both RDS and EC2 are in thesame region, but different AZs. Which of the below mentioned options help configure that the instance isaccessed faster?
Question14: An application stops working with the following error: The specified bucket does not exist. Where is the BEST place to start the root cause analysis?
Question15: A user has setup Multi AZ with the MS SQL RDS instance. Which of the below mentioned functionalities can be achieved by the user?
Question16: The Developer for a retail company must integrate a fraud detection solution into the order processing solution. The fraud detection solution takes between ten and thirty minutes to verify an order. At peak, the web site can receive one hundred orders per minute.What is the most scalable method to add the fraud detection solution to the order processing pipeline?
Question17: A Developer is creating a web application that requires authentication, but also needs to support guest accessto provide users limited access without having to authenticate. What service can provide support for the application to allow guest access?
Question18: A nightly batch job loads 1 million new records into a DynamoDB table. The records are only needed for one hour, and the table needs to be empty by the next night's batch job.Which is the MOST efficient and cost-effective method to provide an empty table?
Question19: A developer wants to modify the following AWS Cloud Formation template to embed another CloudFormation stack:Which syntax should the developer add to the blank line of the CloudFormation template to meet this requirement?
Question20: A developer is working on a serverless application lhat needs lo process any changes to an Amazon DynamoDB table with an AWS Lambda function.How should the developer configure the Lambda function to detect changes to the DynamoDB tabled?
Question21: An on-premises legacy application is caching data files locally and writing shared images to local disks.What is necessary to allow for horizontal scaling when migrating the application to AWS?
Question22: A company is building a software as a service application. As part of the new user sign-on workflow, a Python script invokes the CreateTable operation using the Amazon DynamoDB API. After the call returns, the script attempts to call PutItem.Occasionally, the PutItem request fails with a ResourceNotFoundException error, which causes the workflow to fail. The development team has confirmed that the same table name is used in the two API calls.How should a database specialist fix this issue?
Question23: In regard to DynamoDB, can I modify the index once it is created?
Question24: A security team is responsible for reviewing AWS API call activity in the cloud environment for security violations. These events must be recorded and retained in a centralized location for both current and future AWS regions.What is the SIMPLEST way to meet these requirements?
Question25: A company runs continuous integration/continuous delivery (CI/CD) pipeline for its application on AWS CodePipeline. A developer must write unit tests and run them as part of the pipelines before staging the artifacts for testing.How should the Developer incorporate unit tests as part of CI/CD pipeline?
Question26: A Developer created configuration specifications for an AWS Elastic Beanstalk application in a file named healthcheckurl.yaml in the .ebextensions/directory of their application source bundle. The file contains thefollowing:After the application launches, the health check is not being run on the correct path, event though it is valid.What can be done to correct this configuration file?
Question27: A developer is building an application integrating an Amazon API Gateway with an AWS Lambda function. When calling the API, the developer receives the following error. Wed Nov 03 01:13:00 UTC 2017 : Method completed with status: 502 What should the developer do to resolve the error?
Question28: A developer has launched an application that calls an API by way of Amazon API Gateway. It offers information that changes several times a day, but is not updated in real time. The application has become so popular that the API endpoint is overloaded and that traffic to the endpoint must be reduced.What can the developer do to address the performance issues?
Question29: A user has launched an RDS instance. The user has created 3 databases on the same server. What canthe maximum size be for each database?
Question30: You have a number of image files to encode. In an Amazon SQS worker queue, you create an Amazon SQS message for each file specifying the command (jpeg-encode) and the location of the file in Amazon S3. Which of the following statements best describes the functionality of Amazon SQS?
Question31: A user is launching an AWS RDS with MySQL. Which of the below mentioned options allows the user to configure the INNODB engine parameters?
Question32: A developer has written an application that writes data to Amazon DynamoDB- The DynamoDB table has been configured to use conditional writes During peak usage times, writes are failing due to a CondittonatCheckFailedException error How can the developer increase the application's reliability when multiple clients are attempting to write to the same record?
Question33: What is one key difference between an Amazon EBS-backed and an instance-store backed instance?
Question34: You deploy your Internet-facing application is the us-west-2(Oregon) region. To manage this applicationand upload content from your corporate network, you have a 1-Gbps AWS Direct Connect connection witha private virtual interface via one of the associated Direct Connect locations. In normal operation, you useapproximately 300 Mbps of the available bandwidth, which is more than your Internet connection from thecorporate network.You need to deploy another identical instance of the application is us-east-1(N Virginia) as soon aspossible. You need to use the benefits of Direct Connect. Your design must be the most effective solutionregarding cost, performance, and time to deploy.Which design should you choose?
Question35: A user has enabled the automated backup, but not specified the backup window. What will RDS do in this case?
Question36: A user is trying to create a policy for an IAM user from the AWS console. Which of the below mentionedoptions is not available to the user while configuring policy?
Question37: A Developer has been asked to make changes to the source code of an AWS Lambda function. The function is managed using an AWS CloudFormation template. The template is configured to load the source code from an Amazon S3 bucket. The Developer manually created a .ZIP file deployment package containing the changes and put the file into the correct location on Amazon S3. When the function is invoked, the code changes have not been applied.What step is required to update the function with the changes?
Question38: An application is designed to use Amazon SQS to manage messages from many independent senders. Each sender's messages must be processed in the order they are received.Which SQS feature should be implemented by the Developer?
Question39: 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?
Question40: An application is real-time processing millions of events that are received through an API.What service could be used to allow multiple consumers to process the data concurrently and MOST cost- effectively?
Question41: A user has created a new raw EBS volume. The user mounts the volume on the instance to which it isattached. Which of the below mentioned options is a required step before the user can mount the volume?
Question42: A developer wants to migrate a Windows .NET application that is running on IIS with a Microsoft SQL Server database to AWS. The developer does not want to think about provisioning and managing the infrastructure.What should the developer do to migrate the application with the LEAST amount of effort?
Question43: An application is being developed to audit several AWS accounts. The application will run in Account A and must access AWS services in Accounts B and C.What is the MOST secure way to allow the application to call AWS services in each audited account?
Question44: An ecommerce startup is preparing for an annual sales event. As the traffic to the company's application increases, the development team wants to be notified when the Amazon EC2 instance's CPU utilization exceeds 80%.Which solution will meet this requirement?
Question45: A developer uses Amazon S3 buckets for static website hosting. The developer creates one S3 bucket for the code and another S3 bucket for the assets, such as image and video files. Access is denied when a user attempts to access the assets bucket from the code bucket, with the website application showing a 403 error How should the developer solve this issue?
Question46: A Developer writes an AWS Lambda function and uploads the code in a .ZIP file to Amazon S3.The Developer makes changes to the code and uploads a new .ZIP file to Amazon S3. However, Lambda executes the earlier code.How can the Developer fix this in the LEAST disruptive way?
Question47: A developer is trying to monitor an application's status by running a cron job that returns 1 if the service is up and 0 if the service is down. The developer created code that uses an AWS CLI put-metric-alarm command to publish the custom metrics to Amazon CloudWatch and create an alarm However the developer is unable to create an alarm as the custom metrics do not appear m the CloudWatch console What is causing this issue?
Question48: A user has created a blank EBS volume in the US-East-1 region. The user is unable to attach the volume to a running instance in the same region. What could be the possible reason for this?
Question49: A developer must modify an Alexa skill backed by an AWS Lambda function to access an Amazon DynamoDB table in a second account A role in the second account has been created with permissions to access the table How should the table be accessed?
Question50: A company's security policies require all database passwords to be rotated every 30 days The company uses different database platforms, including Amazon Aurora databases and proprietary NoSQL document databases, for different applications A developer needs to implement a solution for password rotation Which solution will meet these requirements?
Question51: A Developer wants to debug an application by searching and filtering log data. The application logs are stored in Amazon CloudWatch Logs. The Developer creates a new metric filter to count exceptions in the application logs. However, no results are returned from the logs.What is the reason that no filtered results are being returned?
Question52: A company is providing services to many downstream consumers. Each consumer may connect to one or more services. This has resulted in a complex architecture that is difficult to manage and does not scale well. The company needs a single interface to manage these services to consumers.Which AWS service should be used to refactor this architecture?
Question53: An application ingests a large number of small messages and stores them in a database. The application uses AWS Lambda. A Development team is making change to the application's processing logic. In testing, it is taking more than 15 minutes to process each message. The team is concerned the current backend may time out.Which changes should be made to the backend system to ensure each message is processed in the MOST scalable way?
Question54: A Developer is receiving HTTP 400: ThrottlingException errors intermittently when calling the Amazon CloudWatch API. When a call fails, no data is retrieved.What best practice should first be applied to address this issue?
Question55: A company wants to implement authentication for its new REST service using Amazon API Gateway. To authenticate the calls, each request must include HTTP headers with a client ID and user ID. These credentials must be compared to authentication data in an Amazon DynamoDB table.What MUST the company do to implement this authentication in API Gateway?
Question56: A website's page load times are gradually increasing as more users access the system at the same time.Analysis indicates that a user profile is being loaded from a database in all the web pages being visited by each user and this is increasing the database load and the page load latency. To address this issue the Developer decides to cache the user profile data.Which caching strategy will address this situation MOST efficiently?
Question57: A Developer has been asked to make changes to the source code of an AWS Lambda function. The function is managed using an AWS CloudFormation template. The template is configured to load the source code from an Amazon S3 bucket. The Developer manually created a .ZIP file deployment package containing the changes and put the file into the correct location on Amazon S3. When the function is invoked, the code changes have not been applied.What step is required to update the function with the changes?
Question58: A user has created a new raw EBS volume. The user mounts the volume on the instance to which it is attached. Which of the below mentioned options is a required step before the user can mount the volume?
Question59: An on-premises application is implemented using a Linux, Apache, MySQL and PHP (LAMP) stack. The Developer wants to run this application in AWS.Which of the following sets of AWS services can be used to run this stack?
Question60: A developer is working on a serverless application that needs to process any changes to an Amazon DynamoDB table with an AWS Lambda function.How should the developer configure the Lambda function to detect changes to the DynamoDB table?
Question61: A developer is building an application that will run on Amazon EC2 instances.The application needs to connect to an Amazon DynamoDB table to read and write records.The security team must periodically rotate access keys.Which approach will satisfy these requirements?
Question62: A company is developing a report executed by AWS Step Functions, Amazon CloudWatch shows errors in the Step Functions task state machine. To troubleshoot each task, the state input needs to be included along with the error message in the state output.Which coding practice can preserve both the original input and the error for the state?
Question63: A Developer must trigger an AWS Lambda function based on the item lifecycle activity in an Amazon DynamoDB table.How can the Developer create the solution?
Question64: An application reads data from an Amazon DynamoDB table. Several times a day, for a period of 15 seconds, the application receives multiple ProvisionedThroughputExceeded errors.How should this exception be handled?