AWS Interview Questions and Answer Part – 17

What set of operations can you perform on RDS database logs?

  • View, watch, and download (Ans)
  • View, download, and purge
  • View and watch
  • View and download

What is a “node slice” in the Redshift architecture?

  • The leader that managers communication with clients and nodes
  • A partition of a compute node that works in parallel with others to complete operations (Ans)
  • A compute node securely shared with multiple Redshift customers
  • A snapshot of a node at a point in time

Which of the following is true of a multi-AZ database?

  • It cannot be connected to via client tools
  • All of these (Ans)
  • It is the database instance used when you take backups
  • It is synchronously updated from the source instance

You can restore an RDS database to any specific time during the retention period.

  • False
  • True (Ans)

A DynamoDB hash primary key is stored as an ordered index that can be queried.

  • True
  • False (Ans)

A Redshift security group is used to provide role-based access to the cluster.

  • True
  • False (Ans)

Why would you use a secondary index on a DynamoDB table?

  • Define alternate keys to query and scan (Ans)
  • Duplicate data for redundancy purposes
  • All of these
  • To manually synchronize data with a source table

Why are Redshift snapshots useful?

  • Act as a disaster recovery tool by letting you stand up a cluster copy in another region
  • Restoring from a snapshot retains all the data and metadata from the source cluster
  • All of these (Ans)
  • Snapshots can be shared with other AWS accounts

Redshift is based on PostgreSQL, but differs in supported functions, data types, and features.

  • False
  • True (Ans)

The COPY command can import data from S3, DynamoDB, or a server.

  • No
  • Yes (Ans)

In a global secondary index, the key values do NOT need to be unique.

  • False
  • True (Ans)

What billable components make up the AWS API Gateway?

  • Requests, data out, and cache (Ans)
  • API calls
  • SEO + Virality
  • Requests and data out only

What is the purpose of the execution role?

  • Controls what events can trigger the lambda function
  • Controls what resources the lambda function can access (Ans)
  • Determines how long the function can run
  • Terminates the lambda function based on rules

What is a REST API?

  • A group of resources or methods
  • Any website with a search feature
  • An API not currently in use
  • A group of resources and methods (Ans)

What API Gateway feature allows you to transform data?

  • Mapping Templates (Ans)
  • You can’t, it must be done in the backend service
  • HTTP Methods
  • IAM Permissions

Functions with multiple files or module dependencies should:

  • Store the files in a publicly accessible location
  • Zip the contents and upload directly to lambda (Ans)
  • Reference the files using ARN names
  • Avoid using lambda functions

What is the default access level if a policy does not exist?

  • Web authorization headers are used
  • An overriding policy applies
  • Access denied (Ans)
  • Access granted

One way to start using the API Gateway is:

  • Integrating with your current Continuous Integration server
  • Greenfield projects that have no legacy dependencies (Ans)
  • Building the front-end interface for your customer portal
  • Expanding the features of your existing API set

When deploying using the AWS API Gateway:

  • Manually copy needed deployment files
  • Build a server, patch, and deploy
  • Click the deploy button (Ans)
  • Deploy to an existing EC2 instance

API Keys can be used to authorize users.

  • True
  • False (Ans)
Rajesh Kumar
Follow me