[Jan-2022] Latest Amazon DVA-C01 exam dumps and online Test Engine [Q140-Q161]

Share

[Jan-2022] Latest Amazon DVA-C01 exam dumps and online Test Engine

Amazon DVA-C01: Selling Amazon AWS Certified Associate Products and Solutions

NEW QUESTION 140
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?

  • A. Create an ElastiCache cluster to cache the user profile data. Use a write-through caching strategy.
  • B. Use a dedicated Amazon RDS instance for caching profile data. Use a write-through caching strategy.
  • C. Create a new Amazon EC2 Instance and run a NoSQL database on it. Cache the profile data within this database using the write-through caching strategy.
  • D. Create an Amazon ElastiCache cluster to cache the user profile data. Use a cache-aside caching strategy.

Answer: D

Explanation:
Explanation
https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/Strategies.html

 

NEW QUESTION 141
Company C is currently hosting their corporate site in an Amazon S3 bucket with Static Website Hosting enabled. Currently, when visitors go to http://www.companyc.com the index.html page is returned. Company C now would like a new page welcome.html to be returned when a visitor enters http://www.companyc.com in the browser.
Which of the following steps will allow Company C to meet this requirement? Choose 2 answers

  • A. Create a welcome subfolder in their S3 bucket
  • B. Set the Error Document property to welcome.html
  • C. Upload an html page named welcome.html to their S3 bucket
  • D. Move the index.html page to a welcome subfolder
  • E. Set the Index Document property to welcome.html

Answer: C,E

Explanation:
Reference:
https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html https://docs.aws.amazon.com/AmazonS3/latest/dev/HostingWebsiteOnS3Setup.html

 

NEW QUESTION 142
An application stores payroll information nightly in DynamoDB for a large number of employees across hundreds of offices. Item attributes consist of individual name, office identifier, and cumulative daily hours.
Managers run reports for ranges of names working in their office. One query is. "Return all Items in this office for names starting with A through E".
Which table configuration will result in the lowest impact on provisioned throughput for this query?

  • A. Configure a hash index on the name attribute and no range index
  • B. Configure a hash index on the office Identifier attribute and no range index
  • C. Configure the table to have a range index on the name attribute, and a hash index on the office identifier
  • D. Configure the table to have a hash index on the name attribute, and a range index on the office identifier

Answer: C

 

NEW QUESTION 143
An e-commerce web application that shares session state on-premises is being migrated to AWS. The application must be fault tolerant, natively highly scalable, and any service interruption should not affect the user experience.
What is the best option to store the session state?

  • A. Enable session stickiness using elastic load balancers
  • B. Store the session state in Amazon ElastiCache
  • C. Store the session state in Amazon CloudFront
  • D. Store the session state in Amazon S3

Answer: B

 

NEW QUESTION 144
A front-end web application is using Amazon Cognito user pools to handle the user authentication flow. A developer is integrating Amazon DynamoDB into the application using the AWS SDK for JavaScript How would the developer securely call the API without exposing the access or secret keys?

  • A. Configure Amazon Cognito identity pools and exchange the JSON Web Token (JWT) for temporary credentials
  • B. Run the web application in an Amazon EC2 instance with the instance profile configured
  • C. Use Amazon Cognito user pool JSON Web Tokens (JWTs) to access the DynamoDB APIs.
  • D. Hardcode the credentials use Amazon S3 to host the web application, and enable server-side encryption

Answer: D

 

NEW QUESTION 145
A Developer wants to encrypt new objects that are being uploaded to an Amazon S3 bucket by an application.
There must be an audit trail of who has used the key during this process. There should be no change to the performance of the application.
Which type of encryption meets these requirements?

  • A. Server-side encryption using S3-managed keys
  • B. Server-side encryption with AWS KMS-managed keys
  • C. Client-side encryption with AWS KMS-managed keys
  • D. Client-side encryption with a client-side symmetric master key

Answer: A

 

NEW QUESTION 146
When using a large Scan operation in DynamoDB, what technique can be used to minimize the impact of a scan on a table's provisioned throughput?

  • A. Prewarm the table by updating all items
  • B. Use parallel scans
  • C. Set a smaller page size for the scan
  • D. Define a range index on the table

Answer: C

Explanation:
Explanation
Because a Scan operation reads an entire page (by default, 1 MB), you can reduce the impact of the scan operation by setting a smaller page size. The Scan operation provides a Limit parameter that you can use to set the page size for your request. Each Scan or Query request that has a smaller page size uses fewer read operations and creates a "pause" between each request. For example, if each item is 4 KB and you set the page size to 40 items, then a Query request would consume only 40 strongly consistent read operations or 20 eventually consistent read operations. A larger number of smaller Scan or Query operations would allow your other critical requests to succeed without throttling.

 

NEW QUESTION 147
A social media company is using Amazon Cognito in order to synchronize profiles across different mobile devices, to enable end users to have a seamless experience.
Which of the following configurations can be used to silently notify users whenever an update is available on all other devices?

  • A. Use an Amazon Cognito stream to analyze the data and push the notifications.
  • B. Use the push synchronization feature with the appropriate IAM role.
  • C. Modify the user pool to include all the devices which keep them in sync.
  • D. Use the SyncCallback interface to receive notifications on the application.

Answer: B

Explanation:
Reference:
https://docs.aws.amazon.com/cognito/latest/developerguide/push-sync.html

 

NEW QUESTION 148
Where can PortMapping be defined when launching containers in Amazon ECS?

  • A. Amazon Elastic Container Registry (Amzon ECR)
  • B. Task definition
  • C. Container agent
  • D. Security groups

Answer: B

 

NEW QUESTION 149
A Developer has published an update to an application that is served to a global user base using Amazon CloudFront. After deploying the application, users are not able to see the updated changes.
How can the Developer resolve this issue?

  • A. Disable forwarding of query strings and request headers from the CloudFront distribution configuration.
  • B. Invalidate all the application objects from the edge caches.
  • C. Remove the origin from the CloudFront configuration and add it again.
  • D. Disable the CloudFront distribution and enable it again to update all the edge locations.

Answer: B

Explanation:
Explanation
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html

 

NEW QUESTION 150
A company is migrating from a monolithic architecture to a microservices-based architecture. The Developers need to refactor the application so that the many microservices can asynchronously communicate with each other without impacting performance.
Use of which managed AWS services will enable asynchronous message passing? (Choose two.)

  • A. Amazon SQS
  • B. Amazon SNS
  • C. Amazon Cognito
  • D. Amazon ElastiCache
  • E. Amazon Kinesis

Answer: A,B

 

NEW QUESTION 151
A Developer is working on an application that tracks hundreds of millions of product reviews in an Amazon DynamoDB table. The records include the data elements shown in the table:

Which field, when used as the partition key, would result in the MOST consistent performance using DynamoDB?

  • A. productID
  • B. starRating
  • C. reviewID
  • D. comment

Answer: A

Explanation:
Refer AWS documentation - DynamoDB Design partition key
The partition key portion of a table's primary key determines the logical partitions in which a table's data is stored. This in turn affects the underlying physical partitions. Provisioned I/O capacity for the table is divided evenly among these physical partitions. Therefore a partition key design that doesn't distribute I/O requests evenly can create "hot" partitions that result in throttling and use your provisioned I/O capacity inefficiently.
The optimal usage of a table's provisioned throughput depends not only on the workload patterns of individual items, but also on the partition-key design. This doesn't mean that you must access all partition key values to achieve an efficient throughput level, or even that the percentage of accessed partition key values must be high. It does mean that the more distinct partition key values that your workload accesses, the more those requests will be spread across the partitioned space. In general, you will use your provisioned throughput more efficiently as the ratio of partition key values accessed to the total number of partition key values increases.

 

NEW QUESTION 152
A developer wants to send multi-value headers to an AWS Lambda function that is registered as a target with an Application Load Balancer (ALB).
What should the developer do to achieve this?

  • A. Enable the multi-value headers on the ALB
  • B. Send the request body to the Lambda function with a size less than 1 MB 0
  • C. Include the Base64 encoding status status code, status description, and headers in the Lambda function
  • D. Place the Lambda function and target group in the same account

Answer: A

 

NEW QUESTION 153
A startup s photo-sharing site is deployed in a VPC. An ELB distributes web traffic across two subnets. ELB session stickiness is configured to use the AWS-generated session cookie, with a session TTL of 5 minutes. The webserver Auto Scaling Group is configured as: min-size=4, max-size=4.
The startups preparing for a public launch, by running load-testing software installed on a single EC2 instance running in us-west-2a. After 60 minutes of load-testing, the webserver logs show:
Which recommendations can help ensure load-testing HTTP requests are evenly distributed across the four webservers? Choose 2 answers

  • A. Launch and run the load-tester EC2 instance from us-east-1 instead.
  • B. Configure ELB session stickiness to use the app-specific session cookie.
  • C. Re-configure the load-testing software to re-resolve DNS for each web request.
  • D. Configure ELB and Auto Scaling to distribute across us-west-2a and us-west-2c.
  • E. Use a 3rd-party load-testing service which offers globally-distributed test clients.

Answer: B,E

 

NEW QUESTION 154
A company maintains a REST service using Amazon API Gateway and the API Gateway native API key validation. The company recently launched a new registration page, which allows users to sign up for the service. The registration page creates a new API key using CreateApiKey and sends the new key to the user. When the user attempts to call the API using this key, the user receives a 403 Forbidden error. Existing users are unaffected and can still call the API.
What code updates will grant these new users access to the API?

  • A. The importApiKeys method must be called to import all newly created API keys into the current stage of the API.
  • B. The createUsagePlanKey method must be called to associate the newly created API key with the correct usage plan.
  • C. The createDeployment method must be called so the API can be redeployed to include the newly created API key.
  • D. The updateAuthorizer method must be called to update the API's authorizer to include the newly created API key.

Answer: B

Explanation:
Reference:
https://stackoverflow.com/questions/39061041/using-an-api-key-in-amazon-api-gateway

 

NEW QUESTION 155
A developer is implementing authentication and authorization for an application. The developer needs to ensure that the user credentials are never exposed. Which approach should the developer take to meet this requirement?

  • A. Deploy a custom authentication and authorization API on an Amazon EC2 instance. Store the user credentials in Amazon S3 and encrypt the credentials using Amazon S3 server-side encryption.
  • B. Store the user credentials In Amazon RDS Enable the encryption option for the Amazon RDS D8 instances Build an API using AWS Lambda to validate the credentials and authorize users
  • C. Store the user credentials In Amazon DynamoDB Build an AWS Lambda function to validate the credentials and authorize users
  • D. Use Amazon Cognito to configure a user pool, and use the Cognito API to authenticate and authorize the user

Answer: C

 

NEW QUESTION 156
An application displays a status dashboard. The status is updated by 1 KB messages from an SQS queue.
Although the status changes infrequently, the Developer must minimize the time between the message arrival in the queue and the dashboard update.
What technique provides the shortest delay in updating the dashboard?

  • A. Retrieve the messages from the queue using long polling every 20 seconds.
  • B. Reduce the size of the messages by compressing them before sending.
  • C. Retrieve the messages from the queue using short polling every 10 seconds.
  • D. Reduce the size of each message payload by sending it in two parts.

Answer: A

Explanation:
Explanation
https://docs.aws.amazon.com/ko_kr/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-short-and-long-p

 

NEW QUESTION 157
A company has developed a new serverless application using AWS Lambda functions that will be deployed using the AWS Serverless Application Model (AWS SAM) CLI Which step should the developer complete prior to deploying the application?

  • A. Create the application environment using the eb create my-env command.
  • B. Compress the application to a zip file and upload it into AWS Lambda
  • C. Bundle the serverless application using a SAM package
  • D. Test the new AWS Lambda function by first tracing it in AWS X-Ray.

Answer: D

 

NEW QUESTION 158
Which of the following are valid SNS delivery transports? Choose 2 answers

  • A. DynamoDB
  • B. HTTP
  • C. UDP
  • D. Named Pipes
  • E. SMS

Answer: B,E

Explanation:
Reference:
https://aws.amazon.com/sns/faqs/
Q: What are the different delivery formats/transports for receiving notifications?
In order for customers to have broad flexibility of delivery mechanisms, Amazon SNS supports notifications over multiple transport protocols. Customers can select one the following transports as part of the subscription requests:
"HTTP", "HTTPS" - Subscribers specify a URL as part of the subscription registration; notifications will be delivered through an HTTP POST to the specified URL.
"Email", "Email-JSON" - Messages are sent to registered addresses as email. Email-JSON sends notifications as a JSON object, while Email sends text-based email.
"SQS" - Users can specify an SQS standard queue as the endpoint; Amazon SNS will enqueue a notification message to the specified queue (which subscribers can then process using SQS APIs such as ReceiveMessage, DeleteMessage, etc.). Note that FIFO queues are not currently supported.
"SMS" - Messages are sent to registered phone numbers as SMS text messages.

 

NEW QUESTION 159
After launching an instance that you intend to serve as a NAT (Network Address Translation) device in a public subnet you modify your route tables to have the NAT device be the target of internet bound traffic of your private subnet. When you try and make an outbound connection to the Internet from an instance in the private subnet, you are not successful.
Which of the following steps could resolve the issue?

  • A. Attaching a second Elastic Network Interface (ENI) to the instance in the private subnet, and placing it in the public subnet
  • B. Attaching an Elastic IP address to the instance in the private subnet
  • C. Attaching a second Elastic Network interface (ENI) to the NAT instance, and placing it in the private subnet
  • D. Disabling the Source/Destination Check attribute on the NAT instance

Answer: D

Explanation:
Reference:
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html#NATInstance

 

NEW QUESTION 160
A Developer created a Lambda function for a web application backend. When testing the Lambda function from the AWS Lambda console, the Developer can see that the function is being executed, but there is no log data being generated in Amazon CloudWatch Logs, even after several minutes.
What could cause this situation?

  • A. The execution role for the Lambda function is missing permissions to write log data to the CloudWatch Logs.
  • B. The Lambda function is missing a target CloudWatch Log group.
  • C. The Lambda function is missing CloudWatch Logs as a source trigger to send log data.
  • D. The Lambda function does not have any explicit log statements for the log data to send it to CloudWatch Logs.

Answer: A

Explanation:
Explanation
https://docs.aws.amazon.com/lambda/latest/dg/lambda-monitoring.html

 

NEW QUESTION 161
......


AWS-CDA Exam Syllabus Topics:

SectionObjectives

Deployment - 22%

Deploy written code in AWS using existing CI/CD pipelines, processes, and patterns.- Commit code to a repository and invoke build, test and/or deployment actions
- Use labels and branches for version and release management
- Use AWS CodePipeline to orchestrate workflows against different environments
- Apply AWS CodeCommit, AWS CodeBuild, AWS CodePipeline, AWS CodeStar, and AWS CodeDeploy for CI/CD purposes
- Perform a roll back plan based on application deployment policy
Deploy applications using AWS Elastic Beanstalk.- Utilize existing supported environments to define a new application stack
- Package the application
- Introduce a new application version into the Elastic Beanstalk environment
- Utilize a deployment policy to deploy an application version (i.e., all at once, rolling, rolling with batch, immutable)
- Validate application health using Elastic Beanstalk dashboard
- Use Amazon CloudWatch Logs to instrument application logging
Prepare the application deployment package to be deployed to AWS.- Manage the dependencies of the code module (like environment variables, config files and static image files) within the package
- Outline the package/container directory structure and organize files appropriately
- Translate application resource requirements to AWS infrastructure parameters (e.g., memory, cores)
Deploy serverless applications.- Given a use case, implement and launch an AWS Serverless Application Model (AWS SAM) template
- Manage environments in individual AWS services (e.g., Differentiate between Development, Test, and Production in Amazon API Gateway)

Security - 26%

Make authenticated calls to AWS services.- Communicate required policy based on least privileges required by application.
- Assume an IAM role to access a service
- Use the software development kit (SDK) credential provider on-premises or in the cloud to access AWS services (local credentials vs. instance roles)
Implement encryption using AWS services.- Encrypt data at rest (client side; server side; envelope encryption) using AWS services
- Encrypt data in transit
Implement application authentication and authorization.- Add user sign-up and sign-in functionality for applications with Amazon Cognito identity or user pools
- Use Amazon Cognito-provided credentials to write code that access AWS services.
- Use Amazon Cognito sync to synchronize user profiles and data- Use developer-authenticated identities to interact between end user devices, backend
authentication, and Amazon Cognito

Development with AWS Services - 30%

Write code for serverless applications.- Compare and contrast server-based vs. serverless model (e.g., micro services, stateless nature of serverless applications, scaling serverless applications, and decoupling layers of serverless applications)
- Configure AWS Lambda functions by defining environment variables and parameters (e.g., memory, time out, runtime, handler)
- Create an API endpoint using Amazon API Gateway
- Create and test appropriate API actions like GET, POST using the API endpoint
- Apply Amazon DynamoDB concepts (e.g., tables, items, and attributes)
- Compute read/write capacity units for Amazon DynamoDB based on application requirements
- Associate an AWS Lambda function with an AWS event source (e.g., Amazon API Gateway, Amazon CloudWatch event, Amazon S3 events, Amazon Kinesis)
- Invoke an AWS Lambda function synchronously and asynchronously
Translate functional requirements into application design.- Determine real-time vs. batch processing for a given use case
- Determine use of synchronous vs. asynchronous for a given use case
- Determine use of event vs. schedule/poll for a given use case
- Account for tradeoffs for consistency models in an application design
Implement application design into application code.- Write code to utilize messaging services (e.g., SQS, SNS)
- Use Amazon ElastiCache to create a database cache
- Use Amazon DynamoDB to index objects in Amazon S3
- Write a stateless AWS Lambda function
- Write a web application with stateless web servers (Externalize state)
Write code that interacts with AWS services by using APIs, SDKs, and AWS CLI.- Choose the appropriate APIs, software development kits (SDKs), and CLI commands for the code components
- Write resilient code that deals with failures or exceptions (i.e., retries with exponential back off and jitter)

Refactoring - 10%


 

New 2022 DVA-C01 Test Tutorial (Updated 502 Questions): https://www.2pass4sure.com/Amazon-AWS-Certified-Associate/DVA-C01-actual-exam-braindumps.html

Reliable DVA-C01 Exam Tips Test Pdf Exam Material: https://drive.google.com/open?id=1jesKy9LZ1RR77Gl2EyCjv1Ic0Q4X5GQo