Liliana Low
Asked question 23, May. 2023
What is an assertion in F#?
  • May. 23, 2023
Asked question 30, Mar. 2023
Please help me with this test!
A developer is adding Amazon ElastiCache for Memcached to a company's existing record storage application. The developer has decided to use lazy loading based on an analysis of common record handling patterns.
Which pseudocode example will correctly implement lazy loading?

A)
record_value = db.query("UPDATE Records SET Details = {1} WHERE ID == {0}"), record_key, record_value)
cache.set (record_key, record_value)
B) 
record_value = cache.get(record_key)
if (record_value == NULL)
    record_value = db.query ("SELECT Details FROM Records WHERE ID == {0}", record_key)
    cache.set (record_key, record_value)
C)
record_value = cache.get (record_key)
db.query("UPDATE Records SET Details = {1} WHERE ID == {0}", record_key, record_value)
D)
record_value = db.query("SELECT Details FROM Records WHERE ID == {0}", record_key)
if (record_value != NULL)
   cache.set (record_key, record_value)
  • Mar. 30, 2023
Asked question 30, Mar. 2023
Could you help me with my test? 
 A developer is adding sign-up and sign-in functionality to an application. The application must make an API call to a custom analytics solution to log user sign-in events.
Which combination of actions should the developer perform to meet these requirements? (Select TWO.)
A) Use Amazon Cognito to provide the sign-up and sign-in functionality.
B) Use AWS Identity and Access Management (IAM) to provide the sign-up and sign-in functionality.
C) Configure an AWS Config rule to make the API call when a user is authenticated.
D) Invoke an Amazon API Gateway method to make the API call when a user is authenticated.
E) Invoke an AWS Lambda function to make the API call when a user is authenticated.
  • Mar. 30, 2023