AWS. DVA-C01 :: Development Exam
![]() |
![]() |
![]() |
Título del Test:![]() AWS. DVA-C01 :: Development Exam Descripción: AWS Certifications |




Comentarios |
---|
NO HAY REGISTROS |
Where should the appspec.yml be stored?. In the root of your application source directory. In /opt. In the .ebextentions folder. In the config directory in your application source directory. You are leading a small team of DevOps engineers. The team requires a secure and scalable mechanism for centrally storing and sharing compiled code and software packages, as well as a source-control solution for collaborating on their source code. Which of the following do you recommend?. Use CodePipeline to store the compiled code and software packages. Use CodeDeploy as a source-control system to store the source code. Use CodeDeploy to store the compiled code and software packages. Use CodePipeline as a source-control system to store the source code. Use CodeCommit to store the compiled code and software packages. Use CodeArtifact as a source-control system to store the source code. Use CodeArtifact to store the compiled code and software packages. Use CodeCommit as a source-control system to store the source code. You want users to receive an email notification whenever they push code to their AWS CodeCommit repositories. How can you configure this?. Configure Notifications in the console, this will create a CloudWatch Events rule to send a notification to an SNS topic which will trigger an email to be sent to the user. Create a new SNS topic and configure it to poll for CodeCommit events. Ask all your users subscribe to the topic to receive notifications. Configure a CloudWatch Events rule to send a message to SQS which will trigger an email to be sent whenever a user pushes code to the repository. Configure a CloudWatch Events rule to send a message to SES which will trigger an email to be sent whenever a user pushes code to the repository. As a DevOps engineer, you have been tasked with identifying the AWS-supported tools that are available to support cloud transformation projects. Which of the following activities can be done using the Windows Web Application Migration Assistant for Elastic Beanstalk?. Re-platform a web application from Windows to Linux. Migrate an entire .NET website and its configuration to Elastic Beanstalk. Upgrade the underlying operating system of your web server to the latest version of Windows. Migrate a back-end database and its configuration to Elastic Beanstalk. You want to create a continuous delivery pipeline with a build tool recommended by your Project Manager. However, you anticipate your build project to be large and complex. Which of the following AWS services will enable you to orchestrate complex pipelines?. AWS CodeBuild. AWS CodeDeploy. Jenkins. AWS CodePipeline. Which of the following specifies the correct run order for lifecycle hooks for an In-Place deployment using CodeDeploy?. BeforeInstall, AfterInstall, ApplicationStop, ApplicationStart. ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart. ApplicationStop, BeforeInstall, ApplicationStart, AfterInstall. BeforeInstall, ApplicationStop, AfterInstall, ApplicationStart. A document management application stores a catalogue of documents, each uniquely identified by its Document Number. Each document is also described by additional attributes: Document Title, Publication Date, Publisher Name, Country of Origin, and Length. Functional requirements specify that the application should be able to produce a listing of all documents for each country of origin. What would be the optimal DynamoDB data model for this application?. Table Partition Key=Document Number; Table Sort Key=Document Type; GSI Partition Key=Publication Date; GSI Sort Key=Country of Origin;. Table Partition Key=Publication Date; Table Sort Key=Document Number; GSI Partition Key=Publisher Name; GSI Sort Key=Country of Origin;. Table Partition Key=Document Number; Table Sort Key=Document Type; GSI Partition Key=Country of Origin; GSI Sort Key=Publisher Name;. Table Partition Key=Document Number; Table Sort Key=Document Title; GSI Partition Key=Random Prefix; GSI Sort Key=Country of Origin;. An application uses DynamoDB table as its backend data store. Each item has size of 10KB. The application needs to perform 100 strongly consistent read operations per second, and 50 write operations per second. What is the provisioned RCU value required to meet these requirements?. 150. 1000. 500. 300. A transport company uses a mobile GPS application to track the location of each of their 60 vehicles. The application records each vehicle's location to a DynamoDB table every 6 seconds. Each transmission is just under 1KB and throughput is spread evenly over a minute. How many units of write capacity should you specify for this table?. 100. 600. 10. 60. You are in a development team working on a popular serverless web application which allows users to book late availability flights and hotels at a significant discount. You occasionally receive complaints that the website is running slowly. After some investigation, you notice that at the time of the complaints, DynamoDB reported a ProvisionedThroughputExceededException error. Which of the following approaches is a recommended way to handle this error?. Ensure your application is using Exponential Backoff. Increase the RAM capacity of the Lambda function. Increase the read/write capacity of the DynamoDB table. Increase the CPU capacity of the Lambda function. You have developed a web application running on a number of EC2 instances running ASP.NET, you are using an S3 bucket to store product data, with customer transaction data held in an RDS database. You anticipate that the number of connections into your website will grow considerably over the next year and you want to configure a scalable place to store session state data so that multiple web servers can share the session state. Which of the following are suitable options for this application?(2 options). Use ElastiCache to store session state. Lambda can store the session state. Store the data in the same RDS database used for customer transactions. Store session state locally on each EC2 instance. Store the session state data in a DynamoDB table. A developer has a requirement to trigger a Lambda function once every 24 hours. What is the best way of achieving this requirement?. Schedule a trigger in CloudWatch Events. Add a message into SQS that invokes the Lambda function. As part of the Lambda function's code, add a new message into SQS to re-invoke the function with a DelaySeconds equal to 24 hours. Invoke the Lambda function from a cron job running on an EC2 instance. Schedule the trigger in the Lambda Runtime Scheduler. You have created a DynamoDB table for your application, with one partition key and no local secondary index. The table has the following attributes: AccountID (partition key) AccountName CustomerName ReportingPeriod TotalRevenue You have an application running on EC2 that displays revenue data as a dashboard for your sales organization. The dashboard requires a view of total revenue over multiple reporting periods by customer name as a readable format. What secondary index will you need to add to your table?. Global secondary index with a partition key of CustomerName and sort key of ReportingPeriod; project the TotalRevenue attribute. Local secondary index with a partition key of CustomerName and sort key of ReportingPeriod; project the TotalRevenue attribute. Global secondary index with a partition key of ReportingPeriod and sort key of CustomerName; project the TotalRevenue attribute. You are planning to write some Python code which will query a DynamoDB table and display the output on your website, which of the following tools can you use to start writing your code?. CodeStar. Cloud9. CodeBuild. CodeDeploy. You are developing a gaming website that stores all players' scores in a DynamoDB table. You're thinking of using a Partition Key of user_ID and a Sort Key of game_ID as well as storing the user_score, which is the user's highest score for the game, and also a timestamp. You need to find a way to get the top scorers for each game, who have scored over 50,000 points. Which of the following will allow you to find this information in the most efficient way?. Scan the table and order by score. Use a global secondary index with a Partition Key of game_ID and a Sort Key of user_ID. Use a local secondary index with a Partition Key of user_ID and a Sort Key of User_Score. Query the table using a Partition Key of user_ID and sort by game_ID. You have configured your CI/CD process using CodePipeline, however you want to introduce a manual sign-off and approval process which needs to be completed before a new version of your application is deployed to Production. How can you achieve this?. Use the CodePipeLine Manual Approvals feature. Configure two pipelines, one to handle code build and test, and one to handle automated deployment. Use SNS and Lambda to trigger the Deployment Pipeline following notification of successful completion of the Build and Test Pipeline. Configure MFA for CodeDeploy deployments. Use CodePipeline to handle build, compile, test and packaging activities, then manually start a CodeDeploy job to run an automated deployment of successfully tested code. You are importing an existing API to API Gateway. Which format is supported for API definition files? (3). RAML. Swagger. OpenAPI v2.0. OpenAPI v3.0. You are working on a Serverless application written in Python and running in Lambda. You have uploaded multiple versions of your code to Lambda, but would like to make sure your test environment always utilizes (automatically) the latest version. How can you configure this? (2). Create an alias to point to the $LATEST version of your code. Reference the function using an unqualified ARN (function ARN without the version suffix). Reference the function using a qualified ARN and the $LATEST suffix. Configure the alias to automatically update to point to the latest version of the code every time it is updated. Create another function to automatically update your function alias to point to the latest version of the code every time it is updated. You are deploying a new version of your application using a CodeDeploy In-Place upgrade. At the end of the deployment you test the application and discover that something has gone wrong. You need to roll back your changes as quickly as possible. What do you do?. Configure your load balancer to send all incoming requests to the original instances running the old version of the application. Use the CodeDeploy roll back feature to seamlessly roll back to the previous version. Use CodeDeploy to redeploy the previous version of the application. Point all incoming requests to your development environment while you fix the problem with the failed deployment. You have a simple, stateless Python application which processes the contents of an S3 bucket once an hour and takes about 6 minutes to complete once started. Which AWS service should you run this application on in order to provide the most reliable and cost effective solution?. Create an ECS Cluster and run the application as a service on that cluster. Make the application a Lambda function and create a Scheduled Event Trigger set to 1 hour. Create a CloudFront endpoint and point it to an S3 bucket. Run the application from that bucket. Create an Auto Scaling Group for an EC2 instance. Run the application on that instance with crontab set to 1 hour. Which of the following approaches can improve the performance of your Lambda function? (2). Establish your database connections from within the Lambda execution environment to enable connection reuse. Store environment variables outside the function. Only include the libraries you need to minimize the size of your deployment package. Package all dependencies with your deployment package. A developer is working on a new application which will use DynamoDB. One of the DynamoDB tables that the developer must create requires an index sort key. When creating this DynamoDB table, the developer must select an Attribute Type for the sort key. Which of the following DynamoDB data types can the developer select to use for their index sort key? (3). Number. String. Binary. Boolean. List. You are developing an application in API Gateway, and need to categorize your APIs based on their status as: sandbox, test, or prod. You want to use a name-value pair system to define configuration attributes associated with deployment stages of your APIs and use in your API setup and mapping templates. What feature of API Gateway would you use to accomplish this task?. Use the API Gateway console to create a canary release deployment. Use tags based on stages. The tag can be set directly on the stage of the API. Use environment variables based on the API deployment stage to interact with different backend endpoints. Use stage variables based on the API deployment stage to interact with different backend endpoints. You need to announce emergency downtime for a production AWS web application. This downtime notification requires different sets of instructions for different devices. All of the application users signed up to receive SNS notifications from the downtime topic when they began using the application and they are currently subscribed to this topic. What are appropriate ways for you to provide timely, device-specific instructions to end users when announcing this downtime?. Send a single message, but customize the text in the SNS message field so that each device gets only the information that is appropriate for them. It's not possible to send SNS messages manually. Send multiple messages to the topic and ask users to please ignore message formats that don't pertain to them. Create a different topic for each subscription type, then send one topic to SMS endpoints and the other topic to email endpoints. You are developing a serverless retail application which includes a mobile app. All your product data is stored in DynamoDB, whilst the application itself runs on Lambda. The product catalogue is updated once every 6 months, to reflect seasonal stock and price updates. Each database read is 3KB in size and the application performs around 20 reads per second. You want to achieve a great performance with the fastest possible reads, at the cheapest cost. Which of the following DynamoDB settings would you recommend? (3). Configure the table with 20 read capacity units. Configure the table to use high performance reads. Use strongly consistent reads. Configure the table with 10 read capacity units. Configure your application to use a Query rather than a Scan. Use eventually consistent reads. ABC corp runs a web application that uses API Gateway to provide their developer customers with access to data. To reduce load on their upstream systems, the ABC corp have enabled API Gateway caching. A small number of developer customers still need access to results directly from the integration endpoint. To prevent all developer customers from bypassing the cache, ABC corp has also enabled the requirement for cache invalidation to require authorization. What must a developer customer do to return a result that is not cached from the API Gateway? (2). Include a Cache-Control: max-age=0 HTTP header in their request. Call the flush-stage-cache command before making the request. Include a ?execute-api-invalidate-cache query string in their request. Call the /execute-api-invalidate-cache API Gateway endpoint before sending their request. Sign their request with a user or role that has the required execute-api:InvalidateCache permissions to invalidate the cache. You are planning to migrate a critical .NET application that is running on Windows servers located in your own data center to EC2 instances on AWS. Which of the following is the most efficient approach for migrating the application?. Use the Elastic Beanstalk Web Application Porting Tool to migrate the application to Elastic Beanstalk. Deploy the .NET code using Lambda. Use the Windows Web Application Migration Assistant for Elastic Beanstalk to migrate the application. Create a PowerShell utility to safely migrate the application to Elastic Beanstalk. Your application communicates using messages in an SQS queue. You have noticed recently that you are seeing a large number of empty responses where no messages exist in the queue. You want to make sure that your application is responsive as possible, but the cost of the solution is also a concern. What can you do to ensure your application is both cost-effective and responsive?. Configure multiple queues. Use a FIFO queue. Use long polling. Configure multiple queues with short polling. Use short polling. You have a load balancer configuration that you use for most of your CloudFormation stacks. This load balancer always sits in front of your application running on EC2 as it has the important function of forwarding HTTPS requests on port 443 to HTTP requests on port 80 on the instance. As demand for the application grows you need to reuse this load balancer configuration in multiple other deployments of the application and you need to use CloudFormation to do this in an automated way. What is the most efficient way to deploy the load balancer configuration?. Use AWS CloudFormation change sets to change the load balancer configuration based on Region/AZ where you want to deploy a copy of the application. Use AWS CloudFormation direct updates to quickly deploy the same load balancer configuration in multiple environments. Instead of CloudFormation, use Lambda. Let the load balancer trigger a Lambda function that has the infrastructure code embedded to deploy the configuration when prompted. Use AWS CloudFormation nested stacks by creating a dedicated template for the load balancer and refer to that template within other templates. Which HTTP response code indicates that an API call was successful?. 200. 300. 500. 400. A developer is working on a new green field project within an organization. The developer has been asked to recommend what technology could be used if the project is to be deployed with Elastic Beanstalk. Which of the following platforms could the developer recommend for the project to meet its requirements? (3). Ruby. Docker. Swift. Go. Perl. |